arch: Consolidate tsk_is_polling()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / tile / include / asm / thread_info.h
index e9c670d7a7fe2e13c1edd65c410f840ba75f5e32..ccc8ef37235c2b6fd9eee0fe7b854c3c714e3468 100644 (file)
@@ -153,8 +153,6 @@ extern void _cpu_idle(void);
 #define TS_POLLING             0x0004  /* in idle loop but not sleeping */
 #define TS_RESTORE_SIGMASK     0x0008  /* restore signal mask in do_signal */
 
-#define tsk_is_polling(t) (task_thread_info(t)->status & TS_POLLING)
-
 #ifndef __ASSEMBLY__
 #define HAVE_SET_RESTORE_SIGMASK       1
 static inline void set_restore_sigmask(void)