Skip to content

Commit 8ac161e

Browse files
hreineckedamien-lemoal
authored andcommitted
ata: libata-sata: remove ata_sas_sync_probe()
Unused. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Jason Yan <yanaijie@huawei.com> Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
1 parent 6c2fe21 commit 8ac161e

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/ata/libata-sata.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,13 +1157,6 @@ void ata_sas_async_probe(struct ata_port *ap)
11571157
}
11581158
EXPORT_SYMBOL_GPL(ata_sas_async_probe);
11591159

1160-
int ata_sas_sync_probe(struct ata_port *ap)
1161-
{
1162-
return ata_port_probe(ap);
1163-
}
1164-
EXPORT_SYMBOL_GPL(ata_sas_sync_probe);
1165-
1166-
11671160
/**
11681161
* ata_sas_port_init - Initialize a SATA device
11691162
* @ap: SATA port to initialize

include/linux/libata.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,6 @@ extern int ata_slave_link_init(struct ata_port *ap);
12411241
extern struct ata_port *ata_sas_port_alloc(struct ata_host *,
12421242
struct ata_port_info *, struct Scsi_Host *);
12431243
extern void ata_sas_async_probe(struct ata_port *ap);
1244-
extern int ata_sas_sync_probe(struct ata_port *ap);
12451244
extern int ata_sas_port_init(struct ata_port *);
12461245
extern int ata_sas_tport_add(struct device *parent, struct ata_port *ap);
12471246
extern void ata_sas_tport_delete(struct ata_port *ap);

0 commit comments

Comments
 (0)