diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 22:22:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 22:22:03 +0300 |
commit | e8f023caee6b03b796dea65ac379f895be9719ac (patch) | |
tree | 23bb54f88dfcb92c5428f3e8509de35a84461248 /arch/riscv | |
parent | bf98ecbbae3edf3bb3ec254c3e318aa3f75fd15e (diff) | |
parent | 7962c2eddbfe7cce879acb06f9b4f205789e57b7 (diff) | |
download | linux-e8f023caee6b03b796dea65ac379f895be9719ac.tar.xz |
Merge tag 'asm-generic-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic cleanup from Arnd Bergmann:
"This is a single cleanup from Peter Collingbourne, removing some dead
code"
* tag 'asm-generic-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
arch: remove unused function syscall_set_arguments()
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/include/asm/syscall.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/riscv/include/asm/syscall.h b/arch/riscv/include/asm/syscall.h index 34fbb3ea21d5..7ac6a0e275f2 100644 --- a/arch/riscv/include/asm/syscall.h +++ b/arch/riscv/include/asm/syscall.h @@ -64,15 +64,6 @@ static inline void syscall_get_arguments(struct task_struct *task, memcpy(args, ®s->a1, 5 * sizeof(args[0])); } -static inline void syscall_set_arguments(struct task_struct *task, - struct pt_regs *regs, - const unsigned long *args) -{ - regs->orig_a0 = args[0]; - args++; - memcpy(®s->a1, args, 5 * sizeof(regs->a1)); -} - static inline int syscall_get_arch(struct task_struct *task) { #ifdef CONFIG_64BIT |