]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: Remove set but not used variable 'qplib_ctx'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 5 Sep 2020 12:16:24 +0000 (20:16 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 9 Sep 2020 16:20:48 +0000 (13:20 -0300)
commit223d16d87efc0a35cd0f62b7991cf28c78fb856f
tree37d2c7689511b1b84e1857022467a7980f84aafe
parent37a8eef303f6886d78fce8aa69a516010c7bf9cd
RDMA/bnxt_re: Remove set but not used variable 'qplib_ctx'

drivers/infiniband/hw/bnxt_re/main.c:1012:25:
 warning: variable ‘qplib_ctx’ set but not used [-Wunused-but-set-variable]

Fixes: 8e737335577d ("RDMA/bnxt_re: Static NQ depth allocation")
Link: https://lore.kernel.org/r/20200905121624.32776-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/main.c