projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3030cf9
)
alpha: Remove some unused variables
author
Matt Turner
<mattst88@gmail.com>
Fri, 21 Dec 2018 19:17:55 +0000
(11:17 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 21 Dec 2018 21:02:03 +0000
(16:02 -0500)
Fixes: 42a0cc347858 ("sys: don't hold uts_sem while accessing userspace memory")
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/osf_sys.c
patch
|
blob
|
history
diff --git
a/arch/alpha/kernel/osf_sys.c
b/arch/alpha/kernel/osf_sys.c
index 4a147bf8537aebf8c62020f861efa21162ea2eb9..792586038808c1b6633ddc927fc1425a1d8bdaa7 100644
(file)
--- 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];