From: xu xin <xu.xin16@zte.com.cn>
The macro set_syscall_work is not used currently, remove it
to make the code cleaner.
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
---
include/linux/thread_info.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h
index b40de9bab4b7..c4c2bcba2be0 100644
--- a/include/linux/thread_info.h
+++ b/include/linux/thread_info.h
@@ -159,8 +159,6 @@ static __always_inline unsigned long read_ti_thread_flags(struct thread_info *ti
read_ti_thread_flags(task_thread_info(t))
#ifdef CONFIG_GENERIC_ENTRY
-#define set_syscall_work(fl) \
- set_bit(SYSCALL_WORK_BIT_##fl, ¤t_thread_info()->syscall_work)
#define test_syscall_work(fl) \
test_bit(SYSCALL_WORK_BIT_##fl, ¤t_thread_info()->syscall_work)
#define clear_syscall_work(fl) \
@@ -175,8 +173,6 @@ static __always_inline unsigned long read_ti_thread_flags(struct thread_info *ti
#else /* CONFIG_GENERIC_ENTRY */
-#define set_syscall_work(fl) \
- set_ti_thread_flag(current_thread_info(), TIF_##fl)
#define test_syscall_work(fl) \
test_ti_thread_flag(current_thread_info(), TIF_##fl)
#define clear_syscall_work(fl) \
--
2.25.1