Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git] / net / sunrpc / svcauth.c
index 7963569..2af7b0c 100644 (file)
@@ -138,13 +138,12 @@ auth_domain_lookup(char *name, struct auth_domain *new)
 {
        struct auth_domain *hp;
        struct hlist_head *head;
-       struct hlist_node *np;
 
        head = &auth_domain_table[hash_str(name, DN_HASHBITS)];
 
        spin_lock(&auth_domain_lock);
 
-       hlist_for_each_entry(hp, np, head, hash) {
+       hlist_for_each_entry(hp, head, hash) {
                if (strcmp(hp->name, name)==0) {
                        kref_get(&hp->ref);
                        spin_unlock(&auth_domain_lock);