[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251216191503974SJ4abmPFv647m25SjEKQd@zte.com.cn>
Date: Tue, 16 Dec 2025 19:15:03 +0800 (CST)
From: <xu.xin16@....com.cn>
To: <tglx@...utronix.de>, <peterz@...radead.org>, <luto@...nel.org>
Cc: <linux-kernel@...r.kernel.org>
Subject: [PATCH] syscall: remove unused macro set_syscall_work
From: xu xin <xu.xin16@....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@....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
Powered by blists - more mailing lists