Skip to content

Commit

Permalink
[PATCH] knfsd: remove an unused variable from auth_unix_lookup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Banks authored and Linus Torvalds committed Oct 2, 2006
1 parent b06c7b4 commit 40f1052
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions net/sunrpc/svcauth_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40f1052

Please sign in to comment.