diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 20:22:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-10 20:22:03 +0100 |
commit | e8f023caee6b03b796dea65ac379f895be9719ac (patch) | |
tree | 23bb54f88dfcb92c5428f3e8509de35a84461248 /arch/sparc | |
parent | Merge tag 'for-linus-5.16b-rc1-tag' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | arch: remove unused function syscall_set_arguments() (diff) | |
download | linux-e8f023caee6b03b796dea65ac379f895be9719ac.tar.xz linux-e8f023caee6b03b796dea65ac379f895be9719ac.zip |
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/sparc')
-rw-r--r-- | arch/sparc/include/asm/syscall.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc/include/asm/syscall.h b/arch/sparc/include/asm/syscall.h index 62a5a78804c4..20c109ac8cc9 100644 --- a/arch/sparc/include/asm/syscall.h +++ b/arch/sparc/include/asm/syscall.h @@ -117,16 +117,6 @@ static inline void syscall_get_arguments(struct task_struct *task, } } -static inline void syscall_set_arguments(struct task_struct *task, - struct pt_regs *regs, - const unsigned long *args) -{ - unsigned int i; - - for (i = 0; i < 6; i++) - regs->u_regs[UREG_I0 + i] = args[i]; -} - static inline int syscall_get_arch(struct task_struct *task) { #if defined(CONFIG_SPARC64) && defined(CONFIG_COMPAT) |