Skip to contentSkip to conversation

um: Remove duplicated include in syscalls_64.c

PATCH New Yang Li 1 participant 1 message Dec 24, 2021

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 um: Remove duplicated include in syscalls_64.c

Fix following includecheck warning:
./arch/x86/um/syscalls_64.c: registers.h is included more than once.

Fixes dbba7f704aa0 ("um: stop polluting the namespace with registers.h contents")
---
 arch/x86/um/syscalls_64.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/um/syscalls_64.c +0 -1
index fe5323f0c42d..27b29ae6c471 100644
@@ -12,7 +12,6 @@
 #include <asm/prctl.h> /* XXX This should get the constants from libc */
 #include <registers.h>
 #include <os.h>
-#include <registers.h>
 
 long arch_prctl(struct task_struct *task, int option,
 		unsigned long __user *arg2)
Signature · 7 lines
2.20.1.7.g153144c


_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um