linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] scsi: aic94xx: Remove unused inline function
@ 2020-09-09 13:57 YueHaibing
  2020-09-15 21:58 ` Martin K. Petersen
  2020-09-22  3:57 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2020-09-09 13:57 UTC (permalink / raw)
  To: jejb, martin.petersen, yuehaibing; +Cc: linux-scsi, linux-kernel

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] scsi: aic94xx: Remove unused inline function
  2020-09-09 13:57 [PATCH -next] scsi: aic94xx: Remove unused inline function YueHaibing
@ 2020-09-15 21:58 ` Martin K. Petersen
  2020-09-22  3:57 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-09-15 21:58 UTC (permalink / raw)
  To: YueHaibing; +Cc: jejb, martin.petersen, linux-scsi, linux-kernel


YueHaibing,

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

Applied to 5.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] scsi: aic94xx: Remove unused inline function
  2020-09-09 13:57 [PATCH -next] scsi: aic94xx: Remove unused inline function YueHaibing
  2020-09-15 21:58 ` Martin K. Petersen
@ 2020-09-22  3:57 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-09-22  3:57 UTC (permalink / raw)
  To: YueHaibing, jejb; +Cc: Martin K . Petersen, linux-scsi, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-22  3:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 13:57 [PATCH -next] scsi: aic94xx: Remove unused inline function YueHaibing
2020-09-15 21:58 ` Martin K. Petersen
2020-09-22  3:57 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).