From: Stephen Boyd Date: Sun, 2 Jun 2013 06:39:38 +0000 (-0700) Subject: ARM: sched_clock: Remove unused needs_suspend member X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5a9b5855c248d0298eac4d5490c7bc11c2f1983b;p=openwrt%2Fstaging%2Fblogic.git ARM: sched_clock: Remove unused needs_suspend member The needs_suspend member is unused now that we always do the suspend/resume handling (see 6a4dae5 (ARM: 7565/1: sched: stop sched_clock() during suspend, 2012-10-23)). Acked-by: Will Deacon Signed-off-by: Stephen Boyd Signed-off-by: John Stultz --- diff --git a/arch/arm/kernel/sched_clock.c b/arch/arm/kernel/sched_clock.c index e8edcaa0e432..45efe86e8b08 100644 --- a/arch/arm/kernel/sched_clock.c +++ b/arch/arm/kernel/sched_clock.c @@ -24,7 +24,6 @@ struct clock_data { u32 mult; u32 shift; bool suspended; - bool needs_suspend; }; static void sched_clock_poll(unsigned long wrap_ticks);