x86: sparse warning in therm_throt.c

arch/x86/kernel/cpu/mcheck/therm_throt.c:121:2: warning: returning void-valued expression

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Harvey Harrison and committed by
Thomas Gleixner
7c36752a 88a5ac89

+1 -1
+1 -1
arch/x86/kernel/cpu/mcheck/therm_throt.c
··· 118 119 static __cpuinit void thermal_throttle_remove_dev(struct sys_device *sys_dev) 120 { 121 - return sysfs_remove_group(&sys_dev->kobj, &thermal_throttle_attr_group); 122 } 123 124 /* Mutex protecting device creation against CPU hotplug */
··· 118 119 static __cpuinit void thermal_throttle_remove_dev(struct sys_device *sys_dev) 120 { 121 + sysfs_remove_group(&sys_dev->kobj, &thermal_throttle_attr_group); 122 } 123 124 /* Mutex protecting device creation against CPU hotplug */