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

Message ID 20180716161103.16239-6-arnd@arndb.de
State New
Headers show
Series
  • y2038: system calls, part 3
Related show

Commit Message

Arnd Bergmann July 16, 2018, 4:10 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

-- 
2.9.0

Comments

Christoph Hellwig July 17, 2018, 12:51 p.m. | #1
On Mon, Jul 16, 2018 at 06:10:51PM +0200, Arnd Bergmann wrote:
> 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.


Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

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>