diff options
author | Greg Banks <gnb@melbourne.sgi.com> | 2006-10-02 05:17:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:17 -0400 |
commit | 40f10522173c34e56cb9bf2fd37c62f69a427f1b (patch) | |
tree | eadd3c0956b4523acadfa961d41841f873afc714 /net/sunrpc/svcauth_unix.c | |
parent | b06c7b43335788a62f77a9be9cc8eb479a929853 (diff) |
[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>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-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 1020d54b01d..40d41a2831d 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) | |||
348 | 348 | ||
349 | struct auth_domain *auth_unix_lookup(struct in_addr addr) | 349 | struct auth_domain *auth_unix_lookup(struct in_addr addr) |
350 | { | 350 | { |
351 | struct ip_map key, *ipm; | 351 | struct ip_map *ipm; |
352 | struct auth_domain *rv; | 352 | struct auth_domain *rv; |
353 | 353 | ||
354 | strcpy(key.m_class, "nfsd"); | ||
355 | key.m_addr = addr; | ||
356 | |||
357 | ipm = ip_map_lookup("nfsd", addr); | 354 | ipm = ip_map_lookup("nfsd", addr); |
358 | 355 | ||
359 | if (!ipm) | 356 | if (!ipm) |