summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-04-16 00:08:12 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-16 04:44:40 +0200
commit56853f0e615bd347daa29b1d7ab165f2bc5ac5f4 (patch)
tree7f3c9cc83999a58d0d7d82af836c61444dd421eb /drivers/scsi
parentscsi: core: Introduce enum scsi_disposition (diff)
downloadlinux-56853f0e615bd347daa29b1d7ab165f2bc5ac5f4.tar.xz
linux-56853f0e615bd347daa29b1d7ab165f2bc5ac5f4.zip
scsi: aacraid: Remove an unused function
This was detected by building the kernel with clang and W=1. Link: https://lore.kernel.org/r/20210415220826.29438-7-bvanassche@acm.org Cc: aacraid@microsemi.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')
-rw-r--r--drivers/scsi/aacraid/aachba.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index 8e06604370c4..f1f62b5da8b7 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -1881,11 +1881,6 @@ static inline u32 aac_get_safw_phys_nexus(struct aac_dev *dev, int lun)
return *((u32 *)&dev->safw_phys_luns->lun[lun].node_ident[12]);
}
-static inline u32 aac_get_safw_phys_device_type(struct aac_dev *dev, int lun)
-{
- return dev->safw_phys_luns->lun[lun].node_ident[8];
-}
-
static inline void aac_free_safw_identify_resp(struct aac_dev *dev,
int bus, int target)
{