]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
rpc: remove unnecessary assignment
author\"J. Bruce Fields\ <bfields@citi.umich.edu>
Tue, 23 Dec 2008 21:06:33 +0000 (16:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 21:06:33 +0000 (16:06 -0500)
We're just about to kfree() gss_auth, so there's no point to setting any
of its fields.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c

index cb19c9ded1fa0828c36fd316557d9d248c9c5412..ea4567fae5dd31e01dede682ad18c3fb22db8dc9 100644 (file)
@@ -650,7 +650,6 @@ static void
 gss_free(struct gss_auth *gss_auth)
 {
        rpc_unlink(gss_auth->dentry);
-       gss_auth->dentry = NULL;
        gss_mech_put(gss_auth->mech);
 
        kfree(gss_auth);