OpenCloudOS-Kernel/drivers/infiniband
YueHaibing 6044414fa8 RDMA/hns: Remove set but not used variable 'fclr_write_fail_flag'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function 'hns_roce_function_clear':
drivers/infiniband/hw/hns/hns_roce_hw_v2.c:1135:7: warning:
 variable 'fclr_write_fail_flag' set but not used [-Wunused-but-set-variable]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-03 14:52:15 -03:00
..
core Linux 5.2-rc6 2019-06-28 21:18:23 -03:00
hw RDMA/hns: Remove set but not used variable 'fclr_write_fail_flag' 2019-07-03 14:52:15 -03:00
sw rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
ulp IB/ipoib: Remove memset after vzalloc in ipoib_cm.c 2019-07-03 14:27:37 -03:00
Kconfig rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00