Commit f411229e authored by Ingo Molnar's avatar Ingo Molnar

sched/headers: Remove tsk_is_polling()

It's not used by anything.
Acked-by: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent c03cb28e
...@@ -17,10 +17,6 @@ extern void wake_up_if_idle(int cpu); ...@@ -17,10 +17,6 @@ extern void wake_up_if_idle(int cpu);
* polling state. * polling state.
*/ */
#ifdef TIF_POLLING_NRFLAG #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) static inline void __current_set_polling(void)
{ {
...@@ -59,7 +55,6 @@ static inline bool __must_check current_clr_polling_and_test(void) ...@@ -59,7 +55,6 @@ static inline bool __must_check current_clr_polling_and_test(void)
} }
#else #else
static inline int tsk_is_polling(struct task_struct *p) { return 0; }
static inline void __current_set_polling(void) { } static inline void __current_set_polling(void) { }
static inline void __current_clr_polling(void) { } static inline void __current_clr_polling(void) { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment