Message ID | 20230720004257.307031-5-nks@flawful.org |
---|---|
State | New |
Headers | show |
Series | libata: remove references to 'old' error handler | expand |
On 2023/7/20 8:42, Niklas Cassel wrote: > From: Hannes Reinecke <hare@suse.de> > > Unused. > > Signed-off-by: Hannes Reinecke <hare@suse.de> > Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> > --- > drivers/ata/libata-sata.c | 7 ------- > include/linux/libata.h | 1 - > 2 files changed, 8 deletions(-) > > diff --git a/drivers/ata/libata-sata.c b/drivers/ata/libata-sata.c > index b5de0f40ea25..23252ebe312d 100644 > --- a/drivers/ata/libata-sata.c > +++ b/drivers/ata/libata-sata.c > @@ -1157,13 +1157,6 @@ void ata_sas_async_probe(struct ata_port *ap) > } > EXPORT_SYMBOL_GPL(ata_sas_async_probe); > > -int ata_sas_sync_probe(struct ata_port *ap) > -{ > - return ata_port_probe(ap); > -} > -EXPORT_SYMBOL_GPL(ata_sas_sync_probe); > - > - > /** > * ata_sas_port_init - Initialize a SATA device > * @ap: SATA port to initialize > diff --git a/include/linux/libata.h b/include/linux/libata.h > index 53cfb1a4b97a..86490718cd0d 100644 > --- a/include/linux/libata.h > +++ b/include/linux/libata.h > @@ -1241,7 +1241,6 @@ extern int ata_slave_link_init(struct ata_port *ap); > extern struct ata_port *ata_sas_port_alloc(struct ata_host *, > struct ata_port_info *, struct Scsi_Host *); > extern void ata_sas_async_probe(struct ata_port *ap); > -extern int ata_sas_sync_probe(struct ata_port *ap); > extern int ata_sas_port_init(struct ata_port *); > extern int ata_sas_tport_add(struct device *parent, struct ata_port *ap); > extern void ata_sas_tport_delete(struct ata_port *ap); > Reviewed-by: Jason Yan <yanaijie@huawei.com> Thanks, Jason
diff --git a/drivers/ata/libata-sata.c b/drivers/ata/libata-sata.c index b5de0f40ea25..23252ebe312d 100644 --- a/drivers/ata/libata-sata.c +++ b/drivers/ata/libata-sata.c @@ -1157,13 +1157,6 @@ void ata_sas_async_probe(struct ata_port *ap) } EXPORT_SYMBOL_GPL(ata_sas_async_probe); -int ata_sas_sync_probe(struct ata_port *ap) -{ - return ata_port_probe(ap); -} -EXPORT_SYMBOL_GPL(ata_sas_sync_probe); - - /** * ata_sas_port_init - Initialize a SATA device * @ap: SATA port to initialize diff --git a/include/linux/libata.h b/include/linux/libata.h index 53cfb1a4b97a..86490718cd0d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1241,7 +1241,6 @@ extern int ata_slave_link_init(struct ata_port *ap); extern struct ata_port *ata_sas_port_alloc(struct ata_host *, struct ata_port_info *, struct Scsi_Host *); extern void ata_sas_async_probe(struct ata_port *ap); -extern int ata_sas_sync_probe(struct ata_port *ap); extern int ata_sas_port_init(struct ata_port *); extern int ata_sas_tport_add(struct device *parent, struct ata_port *ap); extern void ata_sas_tport_delete(struct ata_port *ap);