diff options
author | Jonghwan Choi <jhbird.choi@samsung.com> | 2012-12-23 18:51:40 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-12-23 18:51:40 -0500 |
commit | 184cddd1e004d3ebd473f9e1ce20dec1d2576fd1 (patch) | |
tree | 8a10c414e869e4d79f100dc4b5ee055c802320d0 /drivers/cpufreq/exynos5250-cpufreq.c | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
cpufreq: exynos: Remove unused variable & IS_ERR
The variable 'max_support_idx, min_support_idx, pm_lock_idx"
are never used, so remove the unused variable.
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/cpufreq/exynos5250-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/exynos5250-cpufreq.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/cpufreq/exynos5250-cpufreq.c b/drivers/cpufreq/exynos5250-cpufreq.c index e64c253cb169..8a5d7338b795 100644 --- a/drivers/cpufreq/exynos5250-cpufreq.c +++ b/drivers/cpufreq/exynos5250-cpufreq.c | |||
@@ -23,8 +23,6 @@ | |||
23 | 23 | ||
24 | #define CPUFREQ_LEVEL_END (L15 + 1) | 24 | #define CPUFREQ_LEVEL_END (L15 + 1) |
25 | 25 | ||
26 | static int max_support_idx; | ||
27 | static int min_support_idx = (CPUFREQ_LEVEL_END - 1); | ||
28 | static struct clk *cpu_clk; | 26 | static struct clk *cpu_clk; |
29 | static struct clk *moutcore; | 27 | static struct clk *moutcore; |
30 | static struct clk *mout_mpll; | 28 | static struct clk *mout_mpll; |
@@ -249,8 +247,6 @@ static void __init set_volt_table(void) | |||
249 | { | 247 | { |
250 | unsigned int i; | 248 | unsigned int i; |
251 | 249 | ||
252 | max_support_idx = L0; | ||
253 | |||
254 | for (i = 0 ; i < CPUFREQ_LEVEL_END ; i++) | 250 | for (i = 0 ; i < CPUFREQ_LEVEL_END ; i++) |
255 | exynos5250_volt_table[i] = asv_voltage_5250[i]; | 251 | exynos5250_volt_table[i] = asv_voltage_5250[i]; |
256 | } | 252 | } |
@@ -313,12 +309,8 @@ int exynos5250_cpufreq_init(struct exynos_dvfs_info *info) | |||
313 | } | 309 | } |
314 | 310 | ||
315 | info->mpll_freq_khz = rate; | 311 | info->mpll_freq_khz = rate; |
316 | /* 1000Mhz */ | ||
317 | info->pm_lock_idx = L7; | ||
318 | /* 800Mhz */ | 312 | /* 800Mhz */ |
319 | info->pll_safe_idx = L9; | 313 | info->pll_safe_idx = L9; |
320 | info->max_support_idx = max_support_idx; | ||
321 | info->min_support_idx = min_support_idx; | ||
322 | info->cpu_clk = cpu_clk; | 314 | info->cpu_clk = cpu_clk; |
323 | info->volt_table = exynos5250_volt_table; | 315 | info->volt_table = exynos5250_volt_table; |
324 | info->freq_table = exynos5250_freq_table; | 316 | info->freq_table = exynos5250_freq_table; |