diff options
author | 2020-02-27 06:42:09 +0000 | |
---|---|---|
committer | 2020-03-02 11:10:38 -0400 | |
commit | 6be2067d1e31477354b08d1ac85ff9ec6dec898e (patch) | |
tree | ba999909180976e99e8196d715c85c04fb699108 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/bnxt_re: Use driver_unregister and unregistration API (diff) | |
download | wireguard-linux-6be2067d1e31477354b08d1ac85ff9ec6dec898e.tar.xz wireguard-linux-6be2067d1e31477354b08d1ac85ff9ec6dec898e.zip |
RDMA/bnxt_re: Remove set but not used variable 'pg_size'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/infiniband/hw/bnxt_re/qplib_res.c: In function '__alloc_pbl':
drivers/infiniband/hw/bnxt_re/qplib_res.c:109:13: warning:
variable 'pg_size' set but not used [-Wunused-but-set-variable]
commit 0c4dcd602817 ("RDMA/bnxt_re: Refactor hardware queue memory
allocation") involved this, but not used, so remove it.
Link: https://lore.kernel.org/r/20200227064209.87893-1-yuehaibing@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions