aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
diff options
context:
space:
mode:
authorGuo Zhengkui <guozhengkui@vivo.com>2022-04-26 15:08:58 +0800
committerJason Gunthorpe <jgg@nvidia.com>2022-05-04 21:16:51 -0300
commitcc377b9b24c7839531c2c0b7a2165819b578393e (patch)
tree58f72291a48fd833ea3581b5fe5598ae8199d87c /drivers/infiniband/hw/hns/hns_roce_hw_v2.c
parentRDMA/rxe: Replace paylen by payload (diff)
downloadlinux-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