On Thu, Feb 27, 2020 at 06:49:00AM +0000, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/hw/bnxt_re/qplib_rcfw.c: In function '__send_message': > drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:101:10: warning: > variable 'idx' set but not used [-Wunused-but-set-variable] > drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:101:6: warning: > variable 'pg' set but not used [-Wunused-but-set-variable] > > commit cee0c7bba486 ("RDMA/bnxt_re: Refactor command queue management code") > involved this, but not used. > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > --- > drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 4 ---- > 1 file changed, 4 deletions(-) Applied to for-next, thanks Jason