Re: [PATCH] RDMA/cxgb3: remove redundant first assignement of sqp

2017-09-27 Thread Doug Ledford
On Mon, 2017-09-11 at 12:42 +0100, Colin King wrote: > From: Colin Ian King > > sqp is being initialised when it is being declared and then updated > a little later on making the first initialization redundant. Clean > this up by initializing ptr and sqp at their declaration. > > Cleans up warni

RE: [PATCH] RDMA/cxgb3: remove redundant first assignement of sqp

2017-09-11 Thread Steve Wise
> > From: Colin Ian King > > sqp is being initialised when it is being declared and then updated > a little later on making the first initialization redundant. Clean > this up by initializing ptr and sqp at their declaration. > > Cleans up warning: "warning: Value stored to 'sqp' during its > i