On Thu, Feb 27, 2020 at 06:45:42AM +0000, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/hw/bnxt_re/ib_verbs.c: In function 'bnxt_re_create_gsi_qp': > drivers/infiniband/hw/bnxt_re/ib_verbs.c:1283:30: warning: > variable 'dev_attr' set but not used [-Wunused-but-set-variable] > > commit 8dae419f9ec7 ("RDMA/bnxt_re: Refactor queue pair creation code") > 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/ib_verbs.c | 2 -- > 1 file changed, 2 deletions(-) Applied to for-next, thanks Jason