On Thu, Feb 27, 2020 at 06:42:09AM +0000, YueHaibing wrote: > 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. > > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > --- > drivers/infiniband/hw/bnxt_re/qplib_res.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied to for-next, thanks Jason