aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorXiyu Yang <xiyuyang19@fudan.edu.cn>2020-04-20 23:14:19 +0800
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-04-21 19:11:59 -0400
commitefe57fd58e1cb77f9186152ee12a8aa4ae3348e0 (patch)
tree14724cd0203cf9f4dbac9a5435975bbe83a35042 /fs/nfs/nfs4proc.c
parentnfs: Fix potential posix_acl refcnt leak in nfs3_set_acl (diff)
downloadlinux-dev-efe57fd58e1cb77f9186152ee12a8aa4ae3348e0.tar.xz
linux-dev-efe57fd58e1cb77f9186152ee12a8aa4ae3348e0.zip
SUNRPC: Remove unreachable error condition
rpc_clnt_test_and_add_xprt() invokes rpc_call_null_helper(), which return the value of rpc_run_task() to "task". Since rpc_run_task() is impossible to return an ERR pointer, there is no need to add the IS_ERR() condition on "task" here. So we need to remove it. Fixes: 7f554890587c ("SUNRPC: Allow addition of new transports to a struct rpc_clnt") Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions