Skip to content

Commit e025f0a

Browse files
bcodding-rhamschuma-ntap
authored andcommitted
NFS: Cleanup unused rpc_clnt variable
The root rpc_clnt is not used here, clean it up. Fixes: 4dc73c6 ("NFSv4: keep state manager thread active if swap is enabled") Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent c5733ae commit e025f0a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fs/nfs/nfs4state.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,10 +1209,6 @@ void nfs4_schedule_state_manager(struct nfs_client *clp)
12091209
{
12101210
struct task_struct *task;
12111211
char buf[INET6_ADDRSTRLEN + sizeof("-manager") + 1];
1212-
struct rpc_clnt *cl = clp->cl_rpcclient;
1213-
1214-
while (cl != cl->cl_parent)
1215-
cl = cl->cl_parent;
12161212

12171213
set_bit(NFS4CLNT_RUN_MANAGER, &clp->cl_state);
12181214
if (test_and_set_bit(NFS4CLNT_MANAGER_AVAILABLE, &clp->cl_state) != 0) {

0 commit comments

Comments
 (0)