]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ads5121: fix compiler warnings (unused variables)
authorWolfgang Denk <wd@denx.de>
Mon, 11 Aug 2008 22:36:53 +0000 (00:36 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Aug 2008 22:36:53 +0000 (00:36 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/mpc512x/cpu.c
cpu/mpc512x/iopin.c

index 81bae41b9cfa3d0432b33d525d4621d56f3a7def..703e1889c3b3152dcf88ca3cb045915d77521e7c 100644 (file)
@@ -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
index 01ab34aa3ddb42b79382ff3128103d7460ef8b6a..3d7042dfb38dc27571c72d9923b89f835352dccd 100644 (file)
@@ -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;