From: Andrew Morton arch/powerpc/kernel/sysfs.c: In function `topology_init': arch/powerpc/kernel/sysfs.c:351: warning: unused variable `parent' Cc: KAMEZAWA Hiroyuki Cc: Yasunori Goto Cc: Ashok Raj Cc: Dave Hansen Signed-off-by: Andrew Morton --- arch/powerpc/kernel/sysfs.c | 2 -- 1 files changed, 2 deletions(-) diff -puN arch/powerpc/kernel/sysfs.c~node-hotplug-fixes-callres-of-register_cpu-powerpc-warning-fix arch/powerpc/kernel/sysfs.c --- 25/arch/powerpc/kernel/sysfs.c~node-hotplug-fixes-callres-of-register_cpu-powerpc-warning-fix 2006-05-30 06:06:09.000000000 -0600 +++ 25-akpm/arch/powerpc/kernel/sysfs.c 2006-05-30 06:06:09.000000000 -0600 @@ -348,10 +348,8 @@ static SYSDEV_ATTR(physical_id, 0444, sh static int __init topology_init(void) { int cpu; - struct node *parent = NULL; register_nodes(); - register_cpu_notifier(&sysfs_cpu_nb); for_each_possible_cpu(cpu) { _