summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-02-01 08:13:45 +0100
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:43 +0100
commitfe38434dfef51b55bcae5017495249689e87b110 (patch)
treed6d05943333a9e8b7fff23a697196e4c537de969
parentdb106ef7ebf671b9ae15cfacbccdd485437440b0 (diff)
MXC: removed warnings from IMX51 ATA driver
Drop warnings due to unused variables. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Marek Vasut <marek.vasut@gmail.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
-rw-r--r--drivers/block/mxc_ata.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/mxc_ata.c b/drivers/block/mxc_ata.c
index 842a63309d..f22f4f40b3 100644
--- a/drivers/block/mxc_ata.c
+++ b/drivers/block/mxc_ata.c
@@ -87,11 +87,8 @@ struct mxc_data_hdd_regs {
/* PIO timing table */
#define NR_PIO_SPECS 5
-static uint16_t pio_t0[NR_PIO_SPECS] = { 600, 383, 240, 180, 120 };
static uint16_t pio_t1[NR_PIO_SPECS] = { 70, 50, 30, 30, 25 };
static uint16_t pio_t2_8[NR_PIO_SPECS] = { 290, 290, 290, 80, 70 };
-static uint16_t pio_t2_16[NR_PIO_SPECS] = { 165, 125, 100, 80, 70 };
-static uint16_t pio_t2i[NR_PIO_SPECS] = { 40, 0, 0, 0, 0 };
static uint16_t pio_t4[NR_PIO_SPECS] = { 30, 20, 15, 10, 10 };
static uint16_t pio_t9[NR_PIO_SPECS] = { 20, 15, 10, 10, 10 };
static uint16_t pio_tA[NR_PIO_SPECS] = { 50, 50, 50, 50, 50 };