[-next] scsi: aic94xx: Remove unused inline function

Message ID 20200909135711.35728-1-yuehaibing@huawei.com
State New
Headers show
Series
  • [-next] scsi: aic94xx: Remove unused inline function
Related show

Commit Message

YueHaibing Sept. 9, 2020, 1:57 p.m.
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(-)

Comments

Martin K. Petersen Sept. 15, 2020, 9:58 p.m. | #1
YueHaibing,

> There is no caller in tree, so can remove it.


Applied to 5.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Martin K. Petersen Sept. 22, 2020, 3:57 a.m. | #2
On Wed, 9 Sep 2020 21:57:11 +0800, YueHaibing wrote:

> There is no caller in tree, so can remove it.


Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: aic94xx: Remove unused inline function
      https://git.kernel.org/mkp/scsi/c/3f4fee002b00

-- 
Martin K. Petersen	Oracle Linux Engineering

Patch

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;