diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2014-05-20 14:12:27 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-26 18:52:32 -0400 |
commit | 94f89e0760fa7da65c2090c26f0cf59f48221069 (patch) | |
tree | d7306cd8dfabbfa1bdeca2e9c8908c0a110f5e25 | |
parent | 1e4988563d3c92ba756d8c86917fc1b594ebe855 (diff) |
cpufreq: intel_pstate: Remove unused member name of cpudata
Although, a value is assigned to member name of struct cpudata,
it is never used.
We can safely remove it.
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index e4c0985ca519..bfe4280399bc 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -86,8 +86,6 @@ struct _pid { | |||
86 | struct cpudata { | 86 | struct cpudata { |
87 | int cpu; | 87 | int cpu; |
88 | 88 | ||
89 | char name[64]; | ||
90 | |||
91 | struct timer_list timer; | 89 | struct timer_list timer; |
92 | 90 | ||
93 | struct pstate_data pstate; | 91 | struct pstate_data pstate; |
@@ -535,8 +533,6 @@ static inline void intel_pstate_pstate_decrease(struct cpudata *cpu, int steps) | |||
535 | 533 | ||
536 | static void intel_pstate_get_cpu_pstates(struct cpudata *cpu) | 534 | static void intel_pstate_get_cpu_pstates(struct cpudata *cpu) |
537 | { | 535 | { |
538 | sprintf(cpu->name, "Intel 2nd generation core"); | ||
539 | |||
540 | cpu->pstate.min_pstate = pstate_funcs.get_min(); | 536 | cpu->pstate.min_pstate = pstate_funcs.get_min(); |
541 | cpu->pstate.max_pstate = pstate_funcs.get_max(); | 537 | cpu->pstate.max_pstate = pstate_funcs.get_max(); |
542 | cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); | 538 | cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); |