diff options
author | Greg Banks <gnb@melbourne.sgi.com> | 2006-10-02 02:17:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 07:57:17 -0700 |
commit | 40f10522173c34e56cb9bf2fd37c62f69a427f1b (patch) | |
tree | eadd3c0956b4523acadfa961d41841f873afc714 | |
parent | b06c7b43335788a62f77a9be9cc8eb479a929853 (diff) | |
download | op-kernel-dev-40f10522173c34e56cb9bf2fd37c62f69a427f1b.zip op-kernel-dev-40f10522173c34e56cb9bf2fd37c62f69a427f1b.tar.gz |
[PATCH] knfsd: remove an unused variable from auth_unix_lookup()
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>
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 1020d54..40d41a2 100644 --- 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) |