Commit 1c3243f6 authored by Matt Turner's avatar Matt Turner

alpha: Remove some unused variables

Fixes: 42a0cc34 ("sys: don't hold uts_sem while accessing userspace memory")
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 3030cf95
...@@ -529,7 +529,6 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path, ...@@ -529,7 +529,6 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path,
SYSCALL_DEFINE1(osf_utsname, char __user *, name) SYSCALL_DEFINE1(osf_utsname, char __user *, name)
{ {
int error;
char tmp[5 * 32]; char tmp[5 * 32];
down_read(&uts_sem); down_read(&uts_sem);
...@@ -560,7 +559,7 @@ SYSCALL_DEFINE0(getdtablesize) ...@@ -560,7 +559,7 @@ SYSCALL_DEFINE0(getdtablesize)
*/ */
SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen)
{ {
int len, err = 0; int len;
char *kname; char *kname;
char tmp[32]; char tmp[32];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment