projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e49885
)
cpufreq: intel_pstate: Remove unused member name of cpudata
author
Stratos Karafotis
<
[email protected]
>
Tue, 20 May 2014 18:12:27 +0000
(21:12 +0300)
committer
Rafael J. Wysocki
<
[email protected]
>
Mon, 26 May 2014 22:52:32 +0000
(
00:52
+0200)
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 <
[email protected]
>
Acked-by: Viresh Kumar <
[email protected]
>
Acked-by: Dirk Brandewie <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/cpufreq/intel_pstate.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/intel_pstate.c
b/drivers/cpufreq/intel_pstate.c
index e4c0985ca519067e927b5fad3f99771b92b7f88b..bfe4280399bc58e71d5250815d8527c0cad7d4ac 100644
(file)
--- a/
drivers/cpufreq/intel_pstate.c
+++ b/
drivers/cpufreq/intel_pstate.c
@@
-86,8
+86,6
@@
struct _pid {
struct cpudata {
int cpu;
- char name[64];
-
struct timer_list timer;
struct pstate_data pstate;
@@
-535,8
+533,6
@@
static inline void intel_pstate_pstate_decrease(struct cpudata *cpu, int steps)
static void intel_pstate_get_cpu_pstates(struct cpudata *cpu)
{
- sprintf(cpu->name, "Intel 2nd generation core");
-
cpu->pstate.min_pstate = pstate_funcs.get_min();
cpu->pstate.max_pstate = pstate_funcs.get_max();
cpu->pstate.turbo_pstate = pstate_funcs.get_turbo();