diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-04-15 15:08:18 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-15 22:44:41 -0400 |
commit | 11417cd5e2ec4a07a573586c15134a08ff56909a (patch) | |
tree | a134330e3957f2db98acb9d6d2a1812fddc90c12 /drivers/scsi/qla4xxx | |
parent | 40d1373b604794e1c3b496f5415ef2e3a9074ca8 (diff) | |
download | linux-11417cd5e2ec4a07a573586c15134a08ff56909a.tar.gz linux-11417cd5e2ec4a07a573586c15134a08ff56909a.tar.bz2 linux-11417cd5e2ec4a07a573586c15134a08ff56909a.zip |
scsi: qla4xxx: Remove an unused function
This was detected by building the kernel with clang and W=1.
Link: https://lore.kernel.org/r/20210415220826.29438-13-bvanassche@acm.org
Cc: Nilesh Javali <njavali@marvell.com>
Acked-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index e6e35e6958f6..66a487795c53 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c @@ -3634,12 +3634,6 @@ flash_conf_addr(struct ql82xx_hw_data *hw, uint32_t faddr) return hw->flash_conf_off | faddr; } -static inline uint32_t -flash_data_addr(struct ql82xx_hw_data *hw, uint32_t faddr) -{ - return hw->flash_data_off | faddr; -} - static uint32_t * qla4_82xx_read_flash_data(struct scsi_qla_host *ha, uint32_t *dwptr, uint32_t faddr, uint32_t length) |