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 cb19c9d..ea4567f 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);