From: Wolfgang Denk <wd@denx.de>
Date: Mon, 11 Aug 2008 22:36:53 +0000 (+0200)
Subject: ads5121: fix compiler warnings (unused variables)
X-Git-Tag: v2025.01-rc5-pxa1908~21998^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=c9c101c660b3d1995045c61c7c6041f52b6cf335;p=u-boot.git

ads5121: fix compiler warnings (unused variables)

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c
index 81bae41b9c..703e1889c3 100644
--- a/cpu/mpc512x/cpu.c
+++ b/cpu/mpc512x/cpu.c
@@ -166,9 +166,7 @@ static void old_ft_cpu_setup(void *blob, bd_t *bd)
 
 static void ft_clock_setup(void *blob, bd_t *bd)
 {
-	int node;
 	char *cpu_path = "/cpus/" OF_CPU;
-	const char *path = NULL;
 
 	/*
 	 * fixup cpu clocks using path
diff --git a/cpu/mpc512x/iopin.c b/cpu/mpc512x/iopin.c
index 01ab34aa3d..3d7042dfb3 100644
--- a/cpu/mpc512x/iopin.c
+++ b/cpu/mpc512x/iopin.c
@@ -27,7 +27,7 @@
 
 void iopin_initialize(iopin_t *ioregs_init, int len)
 {
-	short i, j, n, p;
+	short i, j, p;
 	u_long *reg;
 	immap_t *im = (immap_t *)CFG_IMMR;