scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev'
authorLee Jones <lee.jones@linaro.org>
Fri, 12 Mar 2021 09:47:38 +0000 (09:47 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Mar 2021 02:29:00 +0000 (22:29 -0400)
commit475bff65c431013057c4b6b150bce259e80d0adf
treeb02fbe9aeafb8ee0b3ccae1afaf6b4e7ee6976a9
parentea7fb5344ad00accb016cad11f88bfd0e8cbcca1
scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev'

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/3w-sas.c: In function ‘twl_scsiop_execute_scsi’:
 drivers/scsi/3w-sas.c:298:22: warning: variable ‘sglist’ set but not used [-Wunused-but-set-variable]
 drivers/scsi/3w-sas.c: In function ‘twl_scsi_biosparam’:
 drivers/scsi/3w-sas.c:1411:23: warning: variable ‘tw_dev’ set but not used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20210312094738.2207817-31-lee.jones@linaro.org
Cc: Adam Radford <aradford@gmail.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/3w-sas.c