ARM: sched_clock: Remove unused needs_suspend member
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 2 Jun 2013 06:39:38 +0000 (23:39 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 12 Jun 2013 21:02:12 +0000 (14:02 -0700)
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 <will.deacon@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
arch/arm/kernel/sched_clock.c

index e8edcaa..45efe86 100644 (file)
@@ -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);