Skip to contentSkip to conversation

knfsd: Remove an unused variable from auth_unix_lookup()

PATCH New Greg Banks 1 participant 1 message Jul 6, 2006

Subsystems (3)
lore
Share & tools
lore

Greg Banks

author
#0 lore raw

PATCH 1/1 knfsd: Remove an unused variable from auth_unix_lookup()

knfsd: Remove an unused variable from auth_unix_lookup()

---

 net/sunrpc/svcauth_unix.c |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)
net/sunrpc/svcauth_unix.c +1 -4
Index: linus-git/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)

Greg.

Signature · 12 lines
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs