linux/drivers/infiniband/hw/mlx5
Yang Li e6a1f8c696 RDMA/mlx5: Remove redundant assignment to ret
Variable 'ret' is set to the rerurn value of function
mlx5_mr_cache_alloc() but this value is never read as it is overwritten
with a new value later on, hence it is a redundant assignment and can be
removed

Clean up the following clang-analyzer warning:

 drivers/infiniband/hw/mlx5/odp.c:421:2: warning: Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores]

Fixes: e6fb246cca ("RDMA/mlx5: Consolidate MR destruction to mlx5_ib_dereg_mr()")
Link: https://lore.kernel.org/r/1620296001-120406-1-git-send-email-yang.lee@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-05-11 13:41:03 -03:00
..
ah.c
cmd.c RDMA/mlx5: Move all DM logic to separate file 2021-04-13 19:36:36 -03:00
cmd.h RDMA/mlx5: Move all DM logic to separate file 2021-04-13 19:36:36 -03:00
cong.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
counters.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
counters.h RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
cq.c
devx.c RDMA merge window pull request 2021-05-01 09:15:05 -07:00
devx.h
dm.c RDMA/mlx5: Fix type assignment for ICM DM 2021-04-20 09:42:38 -03:00
dm.h RDMA/mlx5: Expose UAPI to query DM 2021-04-13 19:36:37 -03:00
doorbell.c
fs.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2021-04-12 13:49:48 -03:00
fs.h
gsi.c
ib_rep.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2021-04-12 13:49:48 -03:00
ib_rep.h RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
ib_virt.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
Kconfig
mad.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
main.c IB/mlx5: Set right RoCE l3 type and roce version while deleting GID 2021-04-20 09:41:10 -03:00
Makefile RDMA/mlx5: Move all DM logic to separate file 2021-04-13 19:36:36 -03:00
mem.c
mlx5_ib.h Merge branch 'mlx5_memic_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2021-04-13 19:37:17 -03:00
mr.c Merge branch 'mlx5_memic_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2021-04-13 19:37:17 -03:00
odp.c RDMA/mlx5: Remove redundant assignment to ret 2021-05-11 13:41:03 -03:00
qos.c
qp.c RDMA merge window pull request 2021-05-01 09:15:05 -07:00
qp.h
qpc.c
restrack.c
restrack.h
srq.c
srq.h
srq_cmd.c
std_types.c RDMA/mlx5: Expose private query port 2021-04-20 17:00:18 -03:00
wr.c IB/mlx5: Move mlx5_port_caps from mlx5_core_dev to mlx5_ib_dev 2021-02-05 12:06:00 -04:00
wr.h