projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
e6757aa
..
a40051b
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