[U-Boot] [PATCH] pm9g45: fix compile warning

Fix warning:
pm9g45.c: In function 'pm9g45_macb_hw_init': pm9g45.c:99: warning: unused variable 'pio'
Signed-off-by: Wolfgang Denk wd@denx.de Cc: Ilko Iliev iliev@ronetix.at --- board/ronetix/pm9g45/pm9g45.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c index 3b4d9a3..f3d48f2 100644 --- a/board/ronetix/pm9g45/pm9g45.c +++ b/board/ronetix/pm9g45/pm9g45.c @@ -96,7 +96,6 @@ static void pm9g45_nand_hw_init(void) static void pm9g45_macb_hw_init(void) { at91_pmc_t *pmc = (at91_pmc_t *) AT91_PMC_BASE; - at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE;
/* * PD2 enables the 50MHz oscillator for Ethernet PHY

In message 1286306837-30593-1-git-send-email-wd@denx.de you wrote:
Fix warning:
pm9g45.c: In function 'pm9g45_macb_hw_init': pm9g45.c:99: warning: unused variable 'pio'
Signed-off-by: Wolfgang Denk wd@denx.de Cc: Ilko Iliev iliev@ronetix.at
board/ronetix/pm9g45/pm9g45.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied.
Best regards,
Wolfgang Denk
participants (1)
-
Wolfgang Denk