Re: [PATCH rdma-next] RDMA/qedr: remove set but not used variable 'ctx'

2018-09-05 Thread Jason Gunthorpe
On Sat, Sep 01, 2018 at 03:53:46AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/hw/qedr/verbs.c: In function 'qedr_create_srq': > drivers/infiniband/hw/qedr/verbs.c:1450:24: warning: > variable 'ctx' set but not used [-Wunused-but-set-variable]

RE: [PATCH rdma-next] RDMA/qedr: remove set but not used variable 'ctx'

2018-09-03 Thread Verma, Rahul
ger.kernel.org > Subject: [PATCH rdma-next] RDMA/qedr: remove set but not used variable > 'ctx' > > External Email > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/hw/qedr/verbs.c: In function 'qedr_create_srq': > drivers/infiniband/hw/qedr/verbs.c:1

[PATCH rdma-next] RDMA/qedr: remove set but not used variable 'ctx'

2018-08-31 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/infiniband/hw/qedr/verbs.c: In function 'qedr_create_srq': drivers/infiniband/hw/qedr/verbs.c:1450:24: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/infiniband/hw/qedr/verbs.c |