projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0faed90
)
NFSD: Cleanup unused variable in nfsd_setuser()
author
Kinglong Mee
<kinglongmee@gmail.com>
Fri, 23 May 2014 12:53:44 +0000
(20:53 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 30 May 2014 21:32:21 +0000
(17:32 -0400)
Commit
8f6c5ffc8987
("kernel/groups.c: remove return value of
set_groups") removed the last use of "ret".
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/auth.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/auth.c
b/fs/nfsd/auth.c
index
1042325
..
72f4482
100644
(file)
--- a/
fs/nfsd/auth.c
+++ b/
fs/nfsd/auth.c
@@
-24,7
+24,6
@@
int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)
struct cred *new;
int i;
int flags = nfsexp_flags(rqstp, exp);
- int ret;
validate_process_creds();
@@
-85,8
+84,7
@@
int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)
return 0;
oom:
- ret = -ENOMEM;
abort_creds(new);
- return
ret
;
+ return
-ENOMEM
;
}