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:
da7bfc5
)
x86: fix sparse warning in topology.c
author
Harvey Harrison
<harvey.harrison@gmail.com>
Sat, 9 Feb 2008 22:24:08 +0000
(23:24 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 9 Feb 2008 22:24:08 +0000
(23:24 +0100)
arch/x86/kernel/topology.c:56: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>
arch/x86/kernel/topology.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/topology.c
b/arch/x86/kernel/topology.c
index e6757aaa202bda9c7dfc1992d3e148fa55541f45..a40051b71d9b79cb2906b296aa5fc882dbe7dc53 100644
(file)
--- a/
arch/x86/kernel/topology.c
+++ b/
arch/x86/kernel/topology.c
@@
-53,7
+53,7
@@
EXPORT_SYMBOL(arch_register_cpu);
void arch_unregister_cpu(int num)
{
-
return
unregister_cpu(&per_cpu(cpu_devices, num).cpu);
+ unregister_cpu(&per_cpu(cpu_devices, num).cpu);
}
EXPORT_SYMBOL(arch_unregister_cpu);
#else