Patchwork [05/17] asm-generic: Remove empty asm/unistd.h

login
register
mail settings
Submitter arnd@arndb.de
Date April 25, 2018, 4:02 p.m.
Message ID <20180425160311.2718314-6-arnd@arndb.de>
Download mbox | patch
Permalink /patch/26966/
State New
Headers show

Comments

arnd@arndb.de - April 25, 2018, 4:02 p.m.
Nothing is left in asm/unistd.h except for the redirect to
uapi/asm/unistd.h, so removing the file simply leads to that one being
used directly.  The linux/export.h inclusion is a leftover from commit
e1b5bb6d1236 ("consolidate cond_syscall and SYSCALL_ALIAS declarations")
and should not be used anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 include/asm-generic/unistd.h | 3 ---
 1 file changed, 3 deletions(-)
 delete mode 100644 include/asm-generic/unistd.h

Patch

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
deleted file mode 100644
index 71d2fcf9dbcd..000000000000
--- a/include/asm-generic/unistd.h
+++ /dev/null
@@ -1,3 +0,0 @@ 
-/* SPDX-License-Identifier: GPL-2.0 */
-#include <uapi/asm-generic/unistd.h>
-#include <linux/export.h>