diff options
author | Dhaval Giani <[email protected]> | 2010-11-18 15:44:54 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-11-23 10:29:07 +0100 |
commit | 2e01f4740a874b6085da6ebf541e7ffde9a72bf2 (patch) | |
tree | ec040f4b5fe064042ad5ef81cdd4fa0c70d18178 | |
parent | 70caf8a6c13c2279b35f2ad6b644815533d6c476 (diff) |
cpu: Remove unused variable
GCC warns us about:
kernel/cpu.c: In function ‘take_cpu_down’:
kernel/cpu.c:200:15: warning: unused variable ‘cpu’
This variable is unused since param->hcpu is directly
used later on in cpu_notify.
Signed-off-by: Dhaval Giani <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | kernel/cpu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 8615aa65d927..3945066fc01d 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -197,7 +197,6 @@ struct take_cpu_down_param { static int __ref take_cpu_down(void *_param) { struct take_cpu_down_param *param = _param; - unsigned int cpu = (unsigned long)param->hcpu; int err; /* Ensure this CPU doesn't handle any more interrupts. */ |