lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] remove ata_cable_sata()
This patch removes the no longer used ata_cable_sata()

Signed-off-by: Adrian Bunk <bunk@kernel.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);



\
 
 \ /
  Last update: 2008-04-21 10:57    [W:0.039 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site