]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: speedstep: remove unused speedstep_get_state
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 6 Jan 2014 20:30:12 +0000 (21:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 21:18:35 +0000 (22:18 +0100)
commit581658b4861e92041e46b8aae4433ed2c9c94f3f
tree22142b0b639edad07676ff49837bf5f2e43bc092
parent24e1937b23867a55404eb2dc98fa618bc9851ea7
cpufreq: speedstep: remove unused speedstep_get_state

The only caller of speedstep_get_state() was removed in commit d4019f0a92ab
("cpufreq: move freq change notifications to cpufreq core"). So building
speedstep-smi.o now triggers a GCC warning:
    drivers/cpufreq/speedstep-smi.c:148:12: warning: 'speedstep_get_state' defined but not used [-Wunused-function]

Remove this unused function.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/speedstep-smi.c