From: Chen Gang Date: Fri, 1 Nov 2013 11:07:48 +0000 (+0800) Subject: hexagon: kernel: remove useless variables 'dn', 'r' and 'err' in time_init_deferred... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f8ae9bc0628c9e039003a7d572a6f59c835b868;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git hexagon: kernel: remove useless variables 'dn', 'r' and 'err' in time_init_deferred() in "time.c" Remove them, since they are useless. The related warnings (with allmodconfig for v4): CC arch/hexagon/kernel/time.o arch/hexagon/kernel/time.c: In function 'time_init_deferred': arch/hexagon/kernel/time.c:196: warning: unused variable 'err' arch/hexagon/kernel/time.c:195: warning: unused variable 'r' arch/hexagon/kernel/time.c:194: warning: unused variable 'dn' Signed-off-by: Chen Gang Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/kernel/time.c b/arch/hexagon/kernel/time.c index 9903fad997f3..d0c4f5a04b7b 100644 --- a/arch/hexagon/kernel/time.c +++ b/arch/hexagon/kernel/time.c @@ -191,9 +191,6 @@ void __init time_init_deferred(void) { struct resource *resource = NULL; struct clock_event_device *ce_dev = &hexagon_clockevent_dev; - struct device_node *dn; - struct resource r; - int err; ce_dev->cpumask = cpu_all_mask;