• Lee Jones's avatar
    scsi: qla4xxx: Move 'qla4_83xx_reg_tbl' from shared header · 3ca2c203
    Lee Jones authored
    'qla4_83xx_reg_tbl' is only used in 'drivers/scsi/qla4xxx/ql4_os.c', move
    it there.
    
    Fixes the following W=1 kernel build warning(s):
    
     In file included from drivers/scsi/qla4xxx/ql4_def.h:46,
     from drivers/scsi/qla4xxx/ql4_init.c:9:
     At top level:
     drivers/scsi/qla4xxx/ql4_83xx.h:90:23: warning: ‘qla4_83xx_reg_tbl’ defined but not used [-Wunused-const-variable=]
     90 | static const uint32_t qla4_83xx_reg_tbl[] = {
     | ^~~~~~~~~~~~~~~~~
     In file included from drivers/scsi/qla4xxx/ql4_def.h:46,
     from drivers/scsi/qla4xxx/ql4_mbx.c:9:
     drivers/scsi/qla4xxx/ql4_83xx.h:90:23: warning: ‘qla4_83xx_reg_tbl’ defined but not used [-Wunused-const-variable=]
     90 | static const uint32_t qla4_83xx_reg_tbl[] = {
     | ^~~~~~~~~~~~~~~~~
     [...]
     NB: Lots of these - snipped for brevity.
    
    Link: https://lore.kernel.org/r/20200721164148.2617584-15-lee.jones@linaro.org
    Cc: QLogic-Storage-Upstream@qlogic.com
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    3ca2c203
ql4_os.c 283 KB