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 e8edcaa0e4323c304d2b7a0cda4105eb3a1088f8..45efe86e8b083da0f3659203a5eac9db97739f94 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);