diff options
author | Peter Collingbourne <pcc@google.com> | 2021-09-14 00:24:47 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-09-14 16:06:20 +0200 |
commit | 7962c2eddbfe7cce879acb06f9b4f205789e57b7 (patch) | |
tree | 730803f821783aa05bc69ed02ca8522305447560 /arch/s390 | |
parent | Linux 5.15-rc1 (diff) | |
download | linux-7962c2eddbfe7cce879acb06f9b4f205789e57b7.tar.xz linux-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/s390')
-rw-r--r-- | arch/s390/include/asm/syscall.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/s390/include/asm/syscall.h b/arch/s390/include/asm/syscall.h index b3dd883699e7..27e3d804b311 100644 --- a/arch/s390/include/asm/syscall.h +++ b/arch/s390/include/asm/syscall.h @@ -78,18 +78,6 @@ static inline void syscall_get_arguments(struct task_struct *task, args[0] = regs->orig_gpr2 & mask; } -static inline void syscall_set_arguments(struct task_struct *task, - struct pt_regs *regs, - const unsigned long *args) -{ - unsigned int n = 6; - - while (n-- > 0) - if (n > 0) - regs->gprs[2 + n] = args[n]; - regs->orig_gpr2 = args[0]; -} - static inline int syscall_get_arch(struct task_struct *task) { #ifdef CONFIG_COMPAT |