diff options
author | Xiyu Yang <xiyuyang19@fudan.edu.cn> | 2020-05-25 17:17:02 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-05-29 01:15:00 +0300 |
commit | 037e910b52b04fbd41990f643dff97c7e43b0e47 (patch) | |
tree | b96d1760d43c77b4364360c4899d7427e4656555 /block/genhd.c | |
parent | a4abc6b12eb1f7a533c2e7484cfa555454ff0977 (diff) | |
download | linux-037e910b52b04fbd41990f643dff97c7e43b0e47.tar.xz |
SUNRPC: Remove unreachable error condition in rpcb_getport_async()
rpcb_getport_async() invokes rpcb_call_async(), which return the value
of rpc_run_task() to "child". Since rpc_run_task() is impossible to
return an ERR pointer, there is no need to add the IS_ERR() condition on
"child" 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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions