summaryrefslogtreecommitdiff
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-14 08:58:49 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-31 08:16:00 +0200
commitbc1cd99a9ad7e2c768e7ea92ae9c6ad4a4e0f7f7 (patch)
tree6bbc6cfb308130d4fa5224a49d3e642291ac609d /include/linux/syscalls.h
parent166e07c37c6417c9713666268fc0eb89a9ce48b9 (diff)
fs: remove ksys_dup
Fold it into the only remaining caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 363baaadf8e1..b6d900574762 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -1237,7 +1237,6 @@ asmlinkage long sys_ni_syscall(void);
*/
int ksys_umount(char __user *name, int flags);
-int ksys_dup(unsigned int fildes);
int ksys_chroot(const char __user *filename);
ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count);
int ksys_chdir(const char __user *filename);