diff options
author | Matt Turner <mattst88@gmail.com> | 2018-12-21 11:17:55 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-12-21 16:02:03 -0500 |
commit | 1c3243f61fa7daea78de9866af2625f559ebf456 (patch) | |
tree | 02ab5f32e2c8746125814376f161d29508d5e0bd /arch/alpha/kernel | |
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/alpha/kernel')
-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, SYSCALL_DEFINE1(osf_utsname, char __user *, name) { - int error; char tmp[5 * 32]; down_read(&uts_sem); @@ -560,7 +559,7 @@ SYSCALL_DEFINE0(getdtablesize) */ SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) { - int len, err = 0; + int len; char *kname; char tmp[32]; |