mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
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>
This commit is contained in:
parent
cf8cdbe5bd
commit
99db356368
@ -650,7 +650,6 @@ static void
|
|||||||
gss_free(struct gss_auth *gss_auth)
|
gss_free(struct gss_auth *gss_auth)
|
||||||
{
|
{
|
||||||
rpc_unlink(gss_auth->dentry);
|
rpc_unlink(gss_auth->dentry);
|
||||||
gss_auth->dentry = NULL;
|
|
||||||
gss_mech_put(gss_auth->mech);
|
gss_mech_put(gss_auth->mech);
|
||||||
|
|
||||||
kfree(gss_auth);
|
kfree(gss_auth);
|
||||||
|
Loading…
Reference in New Issue
Block a user