Skip to content

Commit 13acf2b

Browse files
gscuidamien-lemoal
authored andcommitted
ata: libata: Remove obsolete function declarations
The function ata_schedule_scsi_eh() was removed with commit f8bbfc2 ("[PATCH] SCSI: make scsi_implement_eh() generic API for SCSI transports"), and the function ata_sff_irq_clear() was removed with commit 37f65b8("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 <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 66afec7 commit 13acf2b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/ata/libata.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ extern void ata_scsi_set_sense_information(struct ata_device *dev,
124124
const struct ata_taskfile *tf);
125125
extern void ata_scsi_media_change_notify(struct ata_device *dev);
126126
extern void ata_scsi_hotplug(struct work_struct *work);
127-
extern void ata_schedule_scsi_eh(struct Scsi_Host *shost);
128127
extern void ata_scsi_dev_rescan(struct work_struct *work);
129128
extern int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel,
130129
unsigned int id, u64 lun);

include/linux/libata.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,6 @@ extern unsigned int ata_sff_data_xfer(struct ata_queued_cmd *qc,
20062006
extern unsigned int ata_sff_data_xfer32(struct ata_queued_cmd *qc,
20072007
unsigned char *buf, unsigned int buflen, int rw);
20082008
extern void ata_sff_irq_on(struct ata_port *ap);
2009-
extern void ata_sff_irq_clear(struct ata_port *ap);
20102009
extern int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
20112010
u8 status, int in_wq);
20122011
extern void ata_sff_queue_work(struct work_struct *work);

0 commit comments

Comments
 (0)