mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-31 19:35:30 +00:00
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 <dhaval_giani@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1290091494.1145.5.camel@gondor.retis> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
70caf8a6c1
commit
2e01f4740a
1 changed files with 0 additions and 1 deletions
|
@ -197,7 +197,6 @@ struct take_cpu_down_param {
|
||||||
static int __ref take_cpu_down(void *_param)
|
static int __ref take_cpu_down(void *_param)
|
||||||
{
|
{
|
||||||
struct take_cpu_down_param *param = _param;
|
struct take_cpu_down_param *param = _param;
|
||||||
unsigned int cpu = (unsigned long)param->hcpu;
|
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
/* Ensure this CPU doesn't handle any more interrupts. */
|
/* Ensure this CPU doesn't handle any more interrupts. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue