diff options
author | Xiyu Yang <xiyuyang19@fudan.edu.cn> | 2020-04-25 21:04:40 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-04-25 09:20:42 -0400 |
commit | 6e47666ef93dc9c4011407df8d2de1dd1ed39f25 (patch) | |
tree | 7969d61c72de0a24dadb41ea5c0764a695a468f3 /fs/nfs/sysfs.c | |
parent | efe57fd58e1cb77f9186152ee12a8aa4ae3348e0 (diff) | |
download | linux-6e47666ef93dc9c4011407df8d2de1dd1ed39f25.tar.gz linux-6e47666ef93dc9c4011407df8d2de1dd1ed39f25.tar.bz2 linux-6e47666ef93dc9c4011407df8d2de1dd1ed39f25.zip |
NFSv4: Remove unreachable error condition due to rpc_run_task()
nfs4_proc_layoutget() invokes rpc_run_task(), which return the value 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.
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/sysfs.c')
0 files changed, 0 insertions, 0 deletions