diff options
author | Peter Collingbourne <pcc@google.com> | 2021-09-13 15:24:47 -0700 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-09-14 16:06:20 +0200 |
commit | 7962c2eddbfe7cce879acb06f9b4f205789e57b7 (patch) | |
tree | 730803f821783aa05bc69ed02ca8522305447560 /arch/ia64/include | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) | |
download | linux-rpi-7962c2eddbfe7cce879acb06f9b4f205789e57b7.tar.gz linux-rpi-7962c2eddbfe7cce879acb06f9b4f205789e57b7.tar.bz2 linux-rpi-7962c2eddbfe7cce879acb06f9b4f205789e57b7.zip |
arch: remove unused function syscall_set_arguments()
This function appears to have been unused since it was first introduced in
commit 828c365cc8b8 ("tracehook: asm/syscall.h").
Signed-off-by: Peter Collingbourne <pcc@google.com>
Link: https://linux-review.googlesource.com/id/I8ce04f002903a37c0b6c1d16e9b2a3afa716c097
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/syscall.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/ia64/include/asm/syscall.h b/arch/ia64/include/asm/syscall.h index 0d23c0049301..2b02a3fb862a 100644 --- a/arch/ia64/include/asm/syscall.h +++ b/arch/ia64/include/asm/syscall.h @@ -55,21 +55,8 @@ static inline void syscall_set_return_value(struct task_struct *task, } } -extern void ia64_syscall_get_set_arguments(struct task_struct *task, - struct pt_regs *regs, unsigned long *args, int rw); -static inline void syscall_get_arguments(struct task_struct *task, - struct pt_regs *regs, - unsigned long *args) -{ - ia64_syscall_get_set_arguments(task, regs, args, 0); -} - -static inline void syscall_set_arguments(struct task_struct *task, - struct pt_regs *regs, - unsigned long *args) -{ - ia64_syscall_get_set_arguments(task, regs, args, 1); -} +extern void syscall_get_arguments(struct task_struct *task, + struct pt_regs *regs, unsigned long *args); static inline int syscall_get_arch(struct task_struct *task) { |