diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-23 14:24:28 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-25 04:32:05 +0200 |
commit | f11106c93fc92c5bfb3d0f3ae25d58e20c8836c5 (patch) | |
tree | da69e62a92387b3b96e86b4bc2fd769d20b427a7 /drivers/scsi/csiostor/Kconfig | |
parent | scsi: csiostor: Mark known unused variable as __always_unused (diff) | |
download | linux-f11106c93fc92c5bfb3d0f3ae25d58e20c8836c5.tar.xz linux-f11106c93fc92c5bfb3d0f3ae25d58e20c8836c5.zip |
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>
Diffstat (limited to 'drivers/scsi/csiostor/Kconfig')
0 files changed, 0 insertions, 0 deletions