[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421085131.GE26897@cs181133002.pp.htv.fi>
Date: Mon, 21 Apr 2008 11:51:31 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Tejun Heo <htejun@...il.com>, jgarzik@...ox.com
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] remove ata_cable_sata()
This patch removes the no longer used ata_cable_sata()
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
drivers/ata/libata-core.c | 13 -------------
include/linux/libata.h | 1 -
2 files changed, 14 deletions(-)
7da50f40b2e2a1db9e8d506e65082e90a6eb4ae5 diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index a84df42..0f8807f 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2432,18 +2432,6 @@ int ata_cable_ignore(struct ata_port *ap)
}
/**
- * ata_cable_sata - return SATA cable type
- * @ap: port
- *
- * Helper method for drivers which have SATA cables
- */
-
-int ata_cable_sata(struct ata_port *ap)
-{
- return ATA_CBL_SATA;
-}
-
-/**
* ata_bus_probe - Reset and probe ATA bus
* @ap: Bus to probe
*
@@ -6295,4 +6283,3 @@ EXPORT_SYMBOL_GPL(ata_cable_40wire);
EXPORT_SYMBOL_GPL(ata_cable_80wire);
EXPORT_SYMBOL_GPL(ata_cable_unknown);
EXPORT_SYMBOL_GPL(ata_cable_ignore);
-EXPORT_SYMBOL_GPL(ata_cable_sata);
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 9836213..84618df 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -943,7 +943,6 @@ extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_d
extern int ata_cable_40wire(struct ata_port *ap);
extern int ata_cable_80wire(struct ata_port *ap);
-extern int ata_cable_sata(struct ata_port *ap);
extern int ata_cable_ignore(struct ata_port *ap);
extern int ata_cable_unknown(struct ata_port *ap);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists