Skip to contentSkip to conversation

MXC: removed warnings from IMX51 ATA driver

PATCH New Stefano Babic 2 participants 2 messages Feb 1, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MXC: removed warnings from IMX51 ATA driver

Drop warnings due to unused variables.

---
 drivers/block/mxc_ata.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/block/mxc_ata.c +0 -3
index 842a633..f22f4f4 100644
@@ -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 };
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 MXC: removed warnings from IMX51 ATA driver

Quoted 14 lines · On Tuesday 01 February 2011 18:30:02 Stefano Babic wrote:

Drop warnings due to unused variables.

---
 drivers/block/mxc_ata.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/block/mxc_ata.c +0 -0
index 842a633..f22f4f4 100644
@@ -87,11 +87,8 @@ struct mxc_data_hdd_regs {
 

drivers/block/mxc_ata.c struct mxc_data_hdd_regs { · line 94

Quoted 10 lines
drivers/block/mxc_ata.c +0 -3
 /* 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 };