]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/hns: Remove set but not used variable 'rst'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 31 Jan 2019 15:19:21 +0000 (15:19 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 31 Jan 2019 22:41:07 +0000 (15:41 -0700)
commitda91ddfdc7212e6e716be55a5cf2305ce84a422f
treeaa59c45fcc0674d742c7898cab9a31e48ed3fb26
parent02da37509705d3ba6a58fe4799a0caf6b4baecb0
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>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c