]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/memsize.c
Fix missing return in do_mem_loop()
[karo-tx-uboot.git] / common / memsize.c
index 74cf075aff773aeeb2288c2db50899f10091b4ea..963e4f35b18059c3d79b30c04ab595281c37273e 100644 (file)
@@ -73,7 +73,6 @@ long get_ram_size(long *base, long maxsize)
                }
                return (0);
        }
-       *addr = save[i];
 
        for (cnt = 1; cnt < maxsize / sizeof (long); cnt <<= 1) {
                addr = base + cnt;      /* pointer arith! */