Re: [PATCH -next] rdma/siw: remove set but not used variable 's'

2019-07-11 Thread Jason Gunthorpe
On Thu, Jul 11, 2019 at 03:12:13PM +0800, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/sw/siw/siw_cm.c: In function siw_cm_llp_state_change: > drivers/infiniband/sw/siw/siw_cm.c:1278:17: warning: variable s set but not > used [-Wunused-but-set-variable

Re: [PATCH -next] rdma/siw: remove set but not used variable 's'

2019-07-11 Thread Bernard Metzler
-"YueHaibing" wrote: - >To: , , >From: "YueHaibing" >Date: 07/11/2019 09:13AM >Cc: , , >"YueHaibing" >Subject: [EXTERNAL] [PATCH -next] rdma/siw: remove set but not used >variable 's' > >Fixes gcc '-Wunused-but-s

[PATCH -next] rdma/siw: remove set but not used variable 's'

2019-07-11 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/infiniband/sw/siw/siw_cm.c: In function siw_cm_llp_state_change: drivers/infiniband/sw/siw/siw_cm.c:1278:17: warning: variable s set but not used [-Wunused-but-set-variable] Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/in