[PATCH] scsi/ahci.c: remove an unused function
Linux Kernel Mailing List <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1550, 2005/02/06 00:30:11-05:00, [email protected] [PATCH] scsi/ahci.c: remove an unused function The patch below removes an unused function from drivers/scsi/ahci.c Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> ahci.c | 9 --------- 1 files changed, 9 deletions(-) diff -Nru a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c --- a/drivers/scsi/ahci.c 2005-02-07 13:04:10 -08:00 +++ b/drivers/scsi/ahci.c 2005-02-07 13:04:10 -08:00 @@ -519,15 +519,6 @@ ahci_fill_sg(qc); } -static inline void ahci_dma_complete (struct ata_port *ap, - struct ata_queued_cmd *qc, - int have_err) -{ - /* get drive status; clear intr; complete txn */ - ata_qc_complete(ata_qc_from_tag(ap, ap->active_tag), - have_err ? ATA_ERR : 0); -} - static void ahci_intr_error(struct ata_port *ap, u32 irq_stat) { void *mmio = ap->host_set->mmio_base;