diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-09-13 08:05:51 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-09-13 21:06:44 -0400 |
commit | 1345a7d909a3c2bcb588667c676a44cb6176b64a (patch) | |
tree | 5287a3aeb1b7c95086c77e09e2c9e5dbc96efa78 /include/scsi | |
parent | 9b52c1c6cafd7ebec34f1d2e5e3cdb1a0dffe81b (diff) | |
download | lwn-1345a7d909a3c2bcb588667c676a44cb6176b64a.tar.gz lwn-1345a7d909a3c2bcb588667c676a44cb6176b64a.zip |
scsi: libsas: Declare sas_discover_end_dev() static
sas_discover_end_dev() is defined and used only in sas_discover.c. Define
this function as static.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230912230551.454357-4-dlemoal@kernel.org
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libsas.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index d3ace28ee41f..f5257103fdb6 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -696,8 +696,6 @@ extern struct scsi_transport_template * sas_domain_attach_transport(struct sas_domain_function_template *); extern struct device_attribute dev_attr_phy_event_threshold; -int sas_discover_end_dev(struct domain_device *); - void sas_task_abort(struct sas_task *); int sas_eh_abort_handler(struct scsi_cmnd *cmd); int sas_eh_device_reset_handler(struct scsi_cmnd *cmd); |