aboutsummaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
author\"J. Bruce Fields\ <bfields@citi.umich.edu>2008-12-23 16:06:33 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 16:06:33 -0500
commit99db35636842ede13bf3b6bf1a8d8f4f1c4c93bf (patch)
tree2a9bb57a57e8f3fb5e1a8ff9d4235c55f3c9b7ca /net/sunrpc
parentcf8cdbe5bd662eeaece96b017a4d6676ae416537 (diff)
rpc: remove unnecessary assignment
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index cb19c9ded1f..ea4567fae5d 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -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);