From: \"J. Bruce Fields\ Date: Tue, 23 Dec 2008 21:06:33 +0000 (-0500) Subject: rpc: remove unnecessary assignment X-Git-Tag: v2.6.29-rc1~553^2^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=99db35636842ede13bf3b6bf1a8d8f4f1c4c93bf;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Trond Myklebust --- 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);