Commit 613240c9 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] scsi/ahci.c: remove an unused function

The patch below removes an unused function from drivers/scsi/ahci.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 112a72f7
......@@ -509,15 +509,6 @@ static void ahci_qc_prep(struct ata_queued_cmd *qc)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment