summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-05-23 11:38:38 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-05-31 20:30:06 -0400
commitf3d03b9202e4303f0e687f93ffeab87724f6dcfb (patch)
tree4415438ebc609e35d6a908149f6d6053b5d1a5b7
parent8695b90ac3c37278010c76ab3680f35ab358caf9 (diff)
nfsd4: setclientid: remove pointless assignment
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 8a1dfb20a3de..e42b5670ddee 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2263,8 +2263,7 @@ nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
expire_client(conf);
}
move_to_confirmed(unconf);
- conf = unconf;
- nfsd4_probe_callback(conf);
+ nfsd4_probe_callback(unconf);
status = nfs_ok;
} else if ((!conf || !same_verf(&conf->cl_confirm, &confirm))
&& (!unconf || !same_verf(&unconf->cl_confirm, &confirm))) {