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

From: Yang Li
Date: Thu Jun 08 2023 - 04:23:23 EST


./kernel/time/posix-stubs.c: linux/syscalls.h is included more than once.

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxx>
---
kernel/time/posix-stubs.c | 1 -
1 file changed, 1 deletion(-)

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 */
--
2.20.1.7.g153144c