diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-09 21:57:11 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-15 17:54:09 -0400 |
commit | 3f4fee002b009ce862067cf22e7f530deaa0b0a7 (patch) | |
tree | 4f6f867ded5fd7e10fdcc15d0eca88431261d585 /drivers/scsi/aic94xx | |
parent | a9e81c2922bfc4cfe04e33fcbc49ef21e367d7de (diff) |
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>
Diffstat (limited to 'drivers/scsi/aic94xx')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx.h | 8 |
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; |