diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-31 15:19:21 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-31 15:41:07 -0700 |
commit | da91ddfdc7212e6e716be55a5cf2305ce84a422f (patch) | |
tree | aa59c45fcc0674d742c7898cab9a31e48ed3fb26 /drivers/infiniband/hw/mlx5/cong.c | |
parent | 02da37509705d3ba6a58fe4799a0caf6b4baecb0 (diff) | |
download | linux-da91ddfdc7212e6e716be55a5cf2305ce84a422f.tar.gz linux-da91ddfdc7212e6e716be55a5cf2305ce84a422f.tar.bz2 linux-da91ddfdc7212e6e716be55a5cf2305ce84a422f.zip |
RDMA/hns: Remove set but not used variable 'rst'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function 'hns_roce_v2_qp_flow_control_init':
drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4384:33: warning:
variable 'rst' set but not used [-Wunused-but-set-variable]
It never used since introduction.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/cong.c')
0 files changed, 0 insertions, 0 deletions