Home
last modified time | relevance | path

Searched hist:f11106c93fc92c5bfb3d0f3ae25d58e20c8836c5 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/csiostor/
H A Dcsio_hw_t5.cf11106c93fc92c5bfb3d0f3ae25d58e20c8836c5 Thu Jul 23 12:24:28 UTC 2020 Lee Jones <lee.jones@linaro.org> scsi: csiostor: Remove 2 unused variables {mc,edc}_bist_status_rdata_reg

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

drivers/scsi/csiostor/csio_hw_t5.c: In function ‘csio_t5_mc_read’:
drivers/scsi/csiostor/csio_hw_t5.c:151:11: warning: variable ‘mc_bist_status_rdata_reg’ set but not used [-Wunused-but-set-variable]
151 | uint32_t mc_bist_status_rdata_reg, mc_bist_data_pattern_reg;
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/csiostor/csio_hw_t5.c: In function ‘csio_t5_edc_read’:
drivers/scsi/csiostor/csio_hw_t5.c:199:38: warning: variable ‘edc_bist_status_rdata_reg’ set but not used [-Wunused-but-set-variable]
199 | uint32_t edc_bist_cmd_data_pattern, edc_bist_status_rdata_reg;
| ^~~~~~~~~~~~~~~~~~~~~~~~~

Link: https://lore.kernel.org/r/20200723122446.1329773-23-lee.jones@linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>