projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf17ff2
)
scsi: isci: Remove unnecessary struct declaration
author
Wan Jiabing
<wanjiabing@vivo.com>
Tue, 6 Apr 2021 10:59:13 +0000
(18:59 +0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 13 Apr 2021 05:39:12 +0000
(
01:39
-0400)
struct sci_phy_proto was already defined on line 142. The declaration here
is unnecessary. Remove it.
Link:
https://lore.kernel.org/r/20210406105913.676746-1-wanjiabing@vivo.com
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/isci/phy.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/isci/phy.h
b/drivers/scsi/isci/phy.h
index 45fecfa36a987ef81c8491d0573a7068ce7ef6d8..5aaf95b14b2e8640c96c0d091c5ef3580aec3faf 100644
(file)
--- a/
drivers/scsi/isci/phy.h
+++ b/
drivers/scsi/isci/phy.h
@@
-447,7
+447,6
@@
void sci_phy_get_attached_sas_address(
struct isci_phy *iphy,
struct sci_sas_address *sas_address);
-struct sci_phy_proto;
void sci_phy_get_protocols(
struct isci_phy *iphy,
struct sci_phy_proto *protocols);