scsi: aic94xx: Remove unused inline function
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:57:11 +0000 (21:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Sep 2020 21:54:09 +0000 (17:54 -0400)
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>
drivers/scsi/aic94xx/aic94xx.h

index c23bbb6..98978bc 100644 (file)
 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;