From: Greg Banks Signed-off-by: Greg Banks Signed-off-by: Neil Brown Signed-off-by: Andrew Morton --- net/sunrpc/svcauth_unix.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN net/sunrpc/svcauth_unix.c~knfsd-knfsd-remove-an-unused-variable-from-auth_unix_lookup net/sunrpc/svcauth_unix.c --- a/net/sunrpc/svcauth_unix.c~knfsd-knfsd-remove-an-unused-variable-from-auth_unix_lookup +++ a/net/sunrpc/svcauth_unix.c @@ -348,12 +348,9 @@ int auth_unix_forget_old(struct auth_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) _