Re: [PATCH -next] edac: i82975x: remove set but not used variable 'dtype'

2018-11-06 Thread YueHaibing
On 2018/11/7 2:05, Borislav Petkov wrote: > On Thu, Nov 01, 2018 at 10:26:04AM +0800, YueHaibing wrote: >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> drivers/edac/i82975x_edac.c:378:16: warning: >> variable ‘dtype’ set but not used [-Wunused-but-set-variable] >> >> It never used since

Re: [PATCH -next] edac: i82975x: remove set but not used variable 'dtype'

2018-11-06 Thread Borislav Petkov
On Thu, Nov 01, 2018 at 10:26:04AM +0800, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/edac/i82975x_edac.c:378:16: warning: > variable ‘dtype’ set but not used [-Wunused-but-set-variable] > > It never used since introduction in commit > 084a4fccef39 ("edac:

[PATCH -next] edac: i82975x: remove set but not used variable 'dtype'

2018-10-31 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/edac/i82975x_edac.c:378:16: warning: variable ‘dtype’ set but not used [-Wunused-but-set-variable] It never used since introduction in commit 084a4fccef39 ("edac: move dimm properties to struct dimm_info") Signed-off-by: YueHaibing ---