summaryrefslogtreecommitdiffstats
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-07-06 10:34:00 +0200
committerThomas Gleixner <tglx@linutronix.de>2013-07-06 10:34:00 +0200
commit73b0cd674ccc64c921e25bd7154f26d342116539 (patch)
tree93fbfc08581cdc6dd8ee2e89b876703b1bb3c675 /kernel/hrtimer.c
parenthrtimers: Move SMP function call to thread context (diff)
downloadlinux-73b0cd674ccc64c921e25bd7154f26d342116539.tar.xz
linux-73b0cd674ccc64c921e25bd7154f26d342116539.zip
hrtimer: Remove unused variable
Sigh, should have noticed myself. Reported-by: fengguang.wu@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r--kernel/hrtimer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index b9b9420a1297..3a951d8d5770 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -782,8 +782,6 @@ void clock_was_set(void)
*/
void hrtimers_resume(void)
{
- struct hrtimer_cpu_base *cpu_base = &__get_cpu_var(hrtimer_bases);
-
WARN_ONCE(!irqs_disabled(),
KERN_INFO "hrtimers_resume() called with IRQs enabled!");