Skip to contentSkip to conversation

scsi/ahci.c: remove an unused function

PATCH New Adrian Bunk 1 participant 2 messages Oct 28, 2004 – Oct 29, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi/ahci.c: remove an unused function

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below removes an unused function from drivers/scsi/ahci.c

diffstat output:

 drivers/scsi/ahci.c |    9 ---------
 1 files changed, 9 deletions(-)

- --- linux-2.6.10-rc1-mm1-full/drivers/scsi/ahci.c.old 2004-10-28 23:28:09.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/drivers/scsi/ahci.c 2004-10-28 23:28:17.000000000 +0200
@@ -504,15 +504,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;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgX29mfzqmE8StAARAgGOAJ4n5TTw8dyMqfXbwGgY1yZnoaHtdwCfWpHq O6Innq1eA5acFXUHQJ5syng=
=GUWn
-----END PGP SIGNATURE-----

#1 lore raw

PATCH 1/1 scsi/ahci.c: remove an unused function

[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from drivers/scsi/ahci.c

diffstat output:

 drivers/scsi/ahci.c |    9 ---------
 1 files changed, 9 deletions(-)
drivers/scsi/ahci.c renamed from drivers/scsi/ahci.c.old +0 -9
@@ -504,15 +504,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;