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

From: Martin K. Petersen
Date: Thu Oct 24 2019 - 21:16:48 EST



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]

Applied to 5.5/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering