]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60c2ab6dcca2ebb52308b91810c329f33e9cecce
tree5902726c619fe4dc5e56700a58b4ae7568f228ad
parentff1d715cabe72e426995c94d4df2868828fa873e
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