projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06c7b4
)
[PATCH] knfsd: remove an unused variable from auth_unix_lookup()
author
Greg Banks
<gnb@melbourne.sgi.com>
Mon, 2 Oct 2006 09:17:43 +0000
(
02:17
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:17 +0000
(07:57 -0700)
Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/svcauth_unix.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/svcauth_unix.c
b/net/sunrpc/svcauth_unix.c
index 1020d54b01d074a7fd8c1d25976a7d9fe800935c..40d41a2831d75bb1dc4d710212e742bb62fa3033 100644
(file)
--- a/
net/sunrpc/svcauth_unix.c
+++ b/
net/sunrpc/svcauth_unix.c
@@
-348,12
+348,9
@@
int auth_unix_forget_old(struct auth_domain *dom)
struct auth_domain *auth_unix_lookup(struct in_addr addr)
{
- struct ip_map
key,
*ipm;
+ struct ip_map *ipm;
struct auth_domain *rv;
- strcpy(key.m_class, "nfsd");
- key.m_addr = addr;
-
ipm = ip_map_lookup("nfsd", addr);
if (!ipm)