Explorar o código

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>
\"J. Bruce Fields\ %!s(int64=16) %!d(string=hai) anos
pai
achega
99db356368
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      net/sunrpc/auth_gss/auth_gss.c

+ 0 - 1
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);