提交 40f10522 编写于 作者: G Greg Banks 提交者: Linus Torvalds

[PATCH] knfsd: remove an unused variable from auth_unix_lookup()

Signed-off-by: NGreg Banks <gnb@melbourne.sgi.com>
Signed-off-by: NNeil Brown <neilb@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 b06c7b43
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册