diff options
author | Matt Turner <mattst88@gmail.com> | 2018-12-21 20:17:55 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-12-21 22:02:03 +0100 |
commit | 1c3243f61fa7daea78de9866af2625f559ebf456 (patch) | |
tree | 02ab5f32e2c8746125814376f161d29508d5e0bd /arch | |
parent | alpha: rtc: simplify alpha_rtc_init (diff) | |
download | linux-1c3243f61fa7daea78de9866af2625f559ebf456.tar.xz linux-1c3243f61fa7daea78de9866af2625f559ebf456.zip |
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, 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]; |