diff options
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 6ba428afa433..2a5f00b0ee99 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -3155,11 +3155,7 @@ nfs4_find_reclaim_client(clientid_t *clid) | |||
3155 | int | 3155 | int |
3156 | nfs4_check_open_reclaim(clientid_t *clid) | 3156 | nfs4_check_open_reclaim(clientid_t *clid) |
3157 | { | 3157 | { |
3158 | struct nfs4_client_reclaim *crp; | 3158 | return nfs4_find_reclaim_client(clid) ? nfs_ok : nfserr_reclaim_bad; |
3159 | |||
3160 | if ((crp = nfs4_find_reclaim_client(clid)) == NULL) | ||
3161 | return nfserr_reclaim_bad; | ||
3162 | return nfs_ok; | ||
3163 | } | 3159 | } |
3164 | 3160 | ||
3165 | 3161 | ||