Skip to contentSkip to conversation

kernel: Remove duplicated include in posix-stubs.c

PATCH Applied Yang Li 1 participant 1 message Jun 8, 2023 Posix clocks and timers

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 kernel: Remove duplicated include in posix-stubs.c

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

Fixes c1956519cd7e ("syscalls: add sys_ni_posix_timers prototype")
---
 kernel/time/posix-stubs.c | 1 -
 1 file changed, 1 deletion(-)
kernel/time/posix-stubs.c +0 -1
index 39769b2d1005..828aeecbd1e8 100644
@@ -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 */
Signature · 1 line
2.20.1.7.g153144c