All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MXC: removed warnings from IMX51 ATA driver
@ 2011-02-01 17:30 Stefano Babic
  2011-02-01 17:37 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Babic @ 2011-02-01 17:30 UTC (permalink / raw)
  To: u-boot

Drop warnings due to unused variables.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Marek Vasut <marek.vasut@gmail.com>
---
 drivers/block/mxc_ata.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/block/mxc_ata.c b/drivers/block/mxc_ata.c
index 842a633..f22f4f4 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 };
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] MXC: removed warnings from IMX51 ATA driver
  2011-02-01 17:30 [U-Boot] [PATCH] MXC: removed warnings from IMX51 ATA driver Stefano Babic
@ 2011-02-01 17:37 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2011-02-01 17:37 UTC (permalink / raw)
  To: u-boot

On Tuesday 01 February 2011 18:30:02 Stefano Babic wrote:
> Drop warnings due to unused variables.
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> CC: Marek Vasut <marek.vasut@gmail.com>
> ---
>  drivers/block/mxc_ata.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/block/mxc_ata.c b/drivers/block/mxc_ata.c
> index 842a633..f22f4f4 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 };

Acked-by: Marek Vasut <marek.vasut@gmail.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-01 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-01 17:30 [U-Boot] [PATCH] MXC: removed warnings from IMX51 ATA driver Stefano Babic
2011-02-01 17:37 ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.