From: Greg Banks Date: Mon, 2 Oct 2006 09:17:43 +0000 (-0700) Subject: [PATCH] knfsd: remove an unused variable from auth_unix_lookup() X-Git-Tag: v2.6.19-rc1~445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40f10522173c34e56cb9bf2fd37c62f69a427f1b;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] knfsd: remove an unused variable from auth_unix_lookup() Signed-off-by: Greg Banks Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)