[-next] kernel: Remove duplicated include in posix-stubs.c

Message ID 20230608082312.123939-1-yang.lee@linux.alibaba.com
State New
Headers
Series [-next] kernel: Remove duplicated include in posix-stubs.c |

Commit Message

Yang Li June 8, 2023, 8:23 a.m. UTC
  ./kernel/time/posix-stubs.c: linux/syscalls.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5463
Fixes: c1956519cd7e ("syscalls: add sys_ni_posix_timers prototype")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 kernel/time/posix-stubs.c | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/kernel/time/posix-stubs.c b/kernel/time/posix-stubs.c
index 39769b2d1005..828aeecbd1e8 100644
--- a/kernel/time/posix-stubs.c
+++ b/kernel/time/posix-stubs.c
@@ -16,7 +16,6 @@ 
 #include <linux/posix-timers.h>
 #include <linux/time_namespace.h>
 #include <linux/compat.h>
-#include <linux/syscalls.h>
 
 #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER
 /* Architectures may override SYS_NI and COMPAT_SYS_NI */