diff options
author | Guo Zhengkui <guozhengkui@vivo.com> | 2022-04-26 15:08:58 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-05-04 21:16:51 -0300 |
commit | cc377b9b24c7839531c2c0b7a2165819b578393e (patch) | |
tree | 58f72291a48fd833ea3581b5fe5598ae8199d87c /virt | |
parent | RDMA/rxe: Replace paylen by payload (diff) | |
download | linux-dev-cc377b9b24c7839531c2c0b7a2165819b578393e.tar.xz linux-dev-cc377b9b24c7839531c2c0b7a2165819b578393e.zip |
RDMA/hns: Remove unnecessary ret variable from hns_roce_dereg_mr()
Fix the following coccicheck warning:
drivers/infiniband/hw/hns/hns_roce_mr.c:343:5-8: Unneeded variable: "ret".
Return 0 directly instead.
Link: https://lore.kernel.org/r/20220426070858.9098-1-guozhengkui@vivo.com
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions