Messages in this thread Patch in this message | | | From | YueHaibing <> | Subject | [PATCH -next] scsi: aic94xx: Remove unused inline function | Date | Wed, 9 Sep 2020 21:57:11 +0800 |
| |
There is no caller in tree, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/scsi/aic94xx/aic94xx.h | 8 -------- 1 file changed, 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; -- 2.17.1
| |