]> git.karo-electronics.de Git - linux-beck.git/commit
qla2xxx: Move two arrays from header files to .c files
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 11 Jan 2017 19:57:17 +0000 (11:57 -0800)
committerBart Van Assche <bart.vanassche@sandisk.com>
Tue, 17 Jan 2017 19:26:41 +0000 (11:26 -0800)
commit61778a1c5a4556da1a1e005d506f89f009031e62
tree44c28bc0b3c1e58d32bb8e64306d4c72e7de9111
parentca825828a5c797d431f6ec6a83c912787ffbb8af
qla2xxx: Move two arrays from header files to .c files

This patch avoids that building with W=1 triggers compiler
warnings similar to the following:

drivers/scsi/qla2xxx/qla_nx2.h:538:23: warning: ‘qla8044_reg_tbl’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_nx.h
drivers/scsi/qla2xxx/qla_nx2.c
drivers/scsi/qla2xxx/qla_nx2.h