projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e81c2
)
scsi: aic94xx: Remove unused inline function
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:57:11 +0000
(21:57 +0800)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/drivers/scsi/aic94xx/aic94xx.h
b/drivers/scsi/aic94xx/aic94xx.h
index
c23bbb6
..
98978bc
100644
(file)
--- 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;