Commit b88f88c
scsi: Always define blogic_pci_tbl structure
The blogic_pci_tbl structure is used by the MODULE_DEVICE_TABLE macro.
There is no longer a need to protect it with the MODULE condition, since
this no longer causes the compiler to warn about an unused variable.
To avoid warnings when -Wunused-const-variable option is used, mark it
as __maybe_unused for such configuration.
Cc: Khalid Aziz <khalid@gonehiking.org>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Suggested-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://patch.msgid.link/fd8e30de07de79a4923ae967eaee5ba2f2fcef00.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>1 parent 39cfd5b commit b88f88c
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3715 | 3715 | | |
3716 | 3716 | | |
3717 | 3717 | | |
3718 | | - | |
3719 | 3718 | | |
3720 | 3719 | | |
3721 | 3720 | | |
| |||
3725 | 3724 | | |
3726 | 3725 | | |
3727 | 3726 | | |
3728 | | - | |
| 3727 | + | |
3729 | 3728 | | |
3730 | 3729 | | |
3731 | 3730 | | |
3732 | 3731 | | |
3733 | 3732 | | |
3734 | | - | |
3735 | 3733 | | |
3736 | 3734 | | |
3737 | 3735 | | |
| |||
0 commit comments