summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-09 16:57:11 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-09-16 00:54:09 +0300
commit3f4fee002b009ce862067cf22e7f530deaa0b0a7 (patch)
tree4f6f867ded5fd7e10fdcc15d0eca88431261d585
parenta9e81c2922bfc4cfe04e33fcbc49ef21e367d7de (diff)
downloadlinux-3f4fee002b009ce862067cf22e7f530deaa0b0a7.tar.xz
scsi: aic94xx: Remove unused inline function
There is no caller in tree. Remove it. Link: https://lore.kernel.org/r/20200909135711.35728-1-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/aic94xx/aic94xx.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx.h b/drivers/scsi/aic94xx/aic94xx.h
index c23bbb609126..98978bc199ff 100644
--- a/drivers/scsi/aic94xx/aic94xx.h
+++ b/drivers/scsi/aic94xx/aic94xx.h
@@ -42,14 +42,6 @@
extern struct kmem_cache *asd_dma_token_cache;
extern struct kmem_cache *asd_ascb_cache;
-static inline void asd_stringify_sas_addr(char *p, const u8 *sas_addr)
-{
- int i;
- for (i = 0; i < SAS_ADDR_SIZE; i++, p += 2)
- snprintf(p, 3, "%02X", sas_addr[i]);
- *p = '\0';
-}
-
struct asd_ha_struct;
struct asd_ascb;