浏览代码

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 <will.deacon@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Stephen Boyd 12 年之前
父节点
当前提交
5a9b5855c2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/arm/kernel/sched_clock.c

+ 0 - 1
arch/arm/kernel/sched_clock.c

@@ -24,7 +24,6 @@ struct clock_data {
 	u32 mult;
 	u32 mult;
 	u32 shift;
 	u32 shift;
 	bool suspended;
 	bool suspended;
-	bool needs_suspend;
 };
 };
 
 
 static void sched_clock_poll(unsigned long wrap_ticks);
 static void sched_clock_poll(unsigned long wrap_ticks);