IB/mlx5: Remove set-but-not-used variables
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 2 Jul 2018 15:59:28 +0000 (08:59 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 3 Jul 2018 20:14:21 +0000 (14:14 -0600)
commit7496a511a0be976406d0e7ab8cdec7df6e5aac04
tree5902726c619fe4dc5e56700a58b4ae7568f228ad
parentaf7b641ed4d06794550e9811259b5fa970857cd0
IB/mlx5: Remove set-but-not-used variables

Avoid that the compiler complains about set-but-not-used variables when
building with W=1. This patch does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/mlx5/main.c