summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2024-08-26 14:32:42 +0800
committerDamien Le Moal <dlemoal@kernel.org>2024-08-27 08:04:53 +0900
commit13acf2b74803a9a9ab3475c306d5814cf3cefbd8 (patch)
tree95cb16ee2634bc642a95bc9344dcb8a138c551e8 /drivers/ata
parent66afec7c6992a04f8ab65b54421bdb5f8ac806e6 (diff)
downloadlinux-stable-13acf2b74803a9a9ab3475c306d5814cf3cefbd8.tar.gz
linux-stable-13acf2b74803a9a9ab3475c306d5814cf3cefbd8.tar.bz2
linux-stable-13acf2b74803a9a9ab3475c306d5814cf3cefbd8.zip
ata: libata: Remove obsolete function declarations
The function ata_schedule_scsi_eh() was removed with commit f8bbfc247efb ("[PATCH] SCSI: make scsi_implement_eh() generic API for SCSI transports"), and the function ata_sff_irq_clear() was removed with commit 37f65b8bc262("libata-sff: ata_sff_irq_clear() is BMDMA specific"). Remove the now useless declarations of these functions in drivers/ata/libata.h and include/linux/libata.h. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 6abf265f626e..22e667394368 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -124,7 +124,6 @@ extern void ata_scsi_set_sense_information(struct ata_device *dev,
const struct ata_taskfile *tf);
extern void ata_scsi_media_change_notify(struct ata_device *dev);
extern void ata_scsi_hotplug(struct work_struct *work);
-extern void ata_schedule_scsi_eh(struct Scsi_Host *shost);
extern void ata_scsi_dev_rescan(struct work_struct *work);
extern int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
unsigned int id, u64 lun);