diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-01 18:49:05 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-03 01:45:27 +0100 |
commit | f411229e1dd623a3dee623824d094546789977e0 (patch) | |
tree | 5e24b2130609db84fbbc00d59adb74c4171fe78c /include/linux/sched | |
parent | c03cb28e7c44055cd00d11b8581b9fa46a3e3764 (diff) | |
download | linux-stable-f411229e1dd623a3dee623824d094546789977e0.tar.gz linux-stable-f411229e1dd623a3dee623824d094546789977e0.tar.bz2 linux-stable-f411229e1dd623a3dee623824d094546789977e0.zip |
sched/headers: Remove tsk_is_polling()
It's not used by anything.
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>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched')
-rw-r--r-- | include/linux/sched/idle.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched/idle.h b/include/linux/sched/idle.h index 66ee32f87f0b..5ca63ebad6b4 100644 --- a/include/linux/sched/idle.h +++ b/include/linux/sched/idle.h @@ -17,10 +17,6 @@ extern void wake_up_if_idle(int cpu); * polling state. */ #ifdef TIF_POLLING_NRFLAG -static inline int tsk_is_polling(struct task_struct *p) -{ - return test_tsk_thread_flag(p, TIF_POLLING_NRFLAG); -} static inline void __current_set_polling(void) { @@ -59,7 +55,6 @@ static inline bool __must_check current_clr_polling_and_test(void) } #else -static inline int tsk_is_polling(struct task_struct *p) { return 0; } static inline void __current_set_polling(void) { } static inline void __current_clr_polling(void) { } |