RDMA/hns: remove set but not used variable 'dseg'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 28 Sep 2018 10:59:53 +0000 (10:59 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 1 Oct 2018 01:21:11 +0000 (19:21 -0600)
commit8c31c9188b27b276b5ba3d362fa8e2adc9b7404a
tree7440481ba2d611f3983e3b2717b74551a98bc9f4
parentaef716fa5e6da3919cca22ac2097a90d73d8177f
RDMA/hns: remove set but not used variable 'dseg'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function 'hns_roce_v2_post_send':
drivers/infiniband/hw/hns/hns_roce_hw_v2.c:194:35: warning:
 variable 'dseg' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c