summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-06-08 16:23:12 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-06-23 17:04:05 -0700
commit4afc9a402aa3890885747b396c1adcd45f127665 (patch)
tree477d7136e7406afbbaa785a9f00c0aa5dc60436c /kernel
parent7982f975600d59ae3a3d98831f703e55243aba7c (diff)
downloadlwn-4afc9a402aa3890885747b396c1adcd45f127665.tar.gz
lwn-4afc9a402aa3890885747b396c1adcd45f127665.zip
kernel/time/posix-stubs.c: remove duplicated include
./kernel/time/posix-stubs.c: linux/syscalls.h is included more than once. Link: https://lkml.kernel.org/r/20230608082312.123939-1-yang.lee@linux.alibaba.com 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> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/posix-stubs.c1
1 files changed, 0 insertions, 1 deletions
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 */