diff options
author | Matt Turner <mattst88@gmail.com> | 2018-12-21 14:17:55 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-12-21 16:02:03 -0500 |
commit | 1c3243f61fa7daea78de9866af2625f559ebf456 (patch) | |
tree | 02ab5f32e2c8746125814376f161d29508d5e0bd /arch | |
parent | 3030cf95ab2084678e9d2e0315d29cec80479eb0 (diff) |
alpha: Remove some unused variables
Fixes: 42a0cc347858 ("sys: don't hold uts_sem while accessing userspace memory")
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 4a147bf8537a..792586038808 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -529,7 +529,6 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path, | |||
529 | 529 | ||
530 | SYSCALL_DEFINE1(osf_utsname, char __user *, name) | 530 | SYSCALL_DEFINE1(osf_utsname, char __user *, name) |
531 | { | 531 | { |
532 | int error; | ||
533 | char tmp[5 * 32]; | 532 | char tmp[5 * 32]; |
534 | 533 | ||
535 | down_read(&uts_sem); | 534 | down_read(&uts_sem); |
@@ -560,7 +559,7 @@ SYSCALL_DEFINE0(getdtablesize) | |||
560 | */ | 559 | */ |
561 | SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) | 560 | SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) |
562 | { | 561 | { |
563 | int len, err = 0; | 562 | int len; |
564 | char *kname; | 563 | char *kname; |
565 | char tmp[32]; | 564 | char tmp[32]; |
566 | 565 | ||