diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-31 15:37:48 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-01 11:45:45 -0400 |
commit | b2567ebb78bdde9a49010957a0ea5a2514f3fed2 (patch) | |
tree | 909a7cdc72ad556444db83c85f6f80b8ef930944 /drivers/net/ethernet/mellanox/mlx5/core/rl.c | |
parent | d129e3f42266a12b821868fc8c2407a4d80f0b18 (diff) | |
download | linux-b2567ebb78bdde9a49010957a0ea5a2514f3fed2.tar.bz2 |
RDMA/hns: remove set but not used variable 'irq_num'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function hns_roce_v2_cleanup_eq_table:
drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5920:6:
warning: variable irq_num set but not used [-Wunused-but-set-variable]
It is not used since
commit 33db6f94847c ("RDMA/hns: Refactor eq table init for hip08")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190731073748.17664-1-yuehaibing@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/rl.c')
0 files changed, 0 insertions, 0 deletions