[PATCH -next] scsi: cxgb4i: remove set but not used variable 'ppmax'

2019-10-21 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2076:15: warning: variable ppmax set but not used [-Wunused-but-set-variable] drivers/target/iscsi/cxgbit/cxgbit_ddp.c:300:15: warning: variable ppmax set but not used [-Wunused-but-set-variable] It is not used si

[PATCH -next] scsi: cxgb4i: remove set but not used variable 'ppmax'

2019-06-13 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/cxgbi/cxgb4i/cxgb4i.c: In function 'cxgb4i_ddp_init': drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2072:15: warning: variable 'ppmax' set but not used [-Wunused-but-set-variable] It's not used since commit a248384e6420 ("cxgb4/libcxgb/cxgb4i/cxgb