Skip to contentSkip to conversation

pm9263: fix compile warning

PATCH New Wolfgang Denk 1 participant 2 messages Oct 5, 2010 – Oct 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pm9263: fix compile warning

Fix warning:

	pm9263.c: In function 'pm9263_macb_hw_init':
	pm9263.c:99: warning: unused variable 'pio'
---
 board/ronetix/pm9263/pm9263.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
board/ronetix/pm9263/pm9263.c +0 -1
index e41c84c..4dc0237 100644
@@ -96,7 +96,6 @@ static void pm9263_nand_hw_init(void)
 static void pm9263_macb_hw_init(void)
 {
 	at91_pmc_t	*pmc	= (at91_pmc_t *) AT91_PMC_BASE;
-	at91_pio_t	*pio	= (at91_pio_t *) AT91_PIO_BASE;
 
 	/*
 	 * PB27 enables the 50MHz oscillator for Ethernet PHY
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 pm9263: fix compile warning

Quoted 10 lines · In message <[email protected]> you wrote:

Fix warning:

	pm9263.c: In function 'pm9263_macb_hw_init':
	pm9263.c:99: warning: unused variable 'pio'
---
 board/ronetix/pm9263/pm9263.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Applied.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Status quo. Latin for "the mess we're in."