sched/headers, hrtimer: Remove the <linux/wait.h> include from <linux/hrtimer.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 6 Feb 2017 08:59:47 +0000 (09:59 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:40 +0000 (01:45 +0100)
In our quest to simplify <linux/sched.h>'s header dependencies, remove
the <linux/wait.h> inclusion from <linux/hrtimer.h> - which does
not appear to be necessary, as hrtimer.h does not use waitqueues.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/hrtimer.h

index e52b427223baa89f6167cbc0d285543a120cdf9f..249e579ecd4c4d7ecf06f38e3c0fad75ba46000b 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/ktime.h>
 #include <linux/init.h>
 #include <linux/list.h>
-#include <linux/wait.h>
 #include <linux/percpu.h>
 #include <linux/timer.h>
 #include <linux/timerqueue.h>