Re: [PATCH] scsi: ibmvscsi_tgt: remove set but not used variables 'iue' and 'sd'
From: Martin K. Petersen
Date: Thu Dec 19 2019 - 18:43:46 EST
Chen,
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function ibmvscsis_send_messages:
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:1888:19: warning: variable iue set but not used [-Wunused-but-set-variable]
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function ibmvscsis_queue_data_in:
> drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3806:8: warning: variable sd set but not used [-Wunused-but-set-variable]
Applied to 5.6/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering