microblaze: Remove useless early_init_dt_check_for_initrd
authorMichal Simek <monstr@monstr.eu>
Mon, 20 Dec 2010 14:03:11 +0000 (15:03 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 3 Jan 2011 09:12:43 +0000 (10:12 +0100)
Remove copy&paste error. Microblaze doesn't support initrd.

Signed-off-by: Walter Goossens <waltergoossens@home.nl>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/prom.c

index a105301e2b7fec6465daa9ac89c06a20b65cd59f..c881393f07fdcaf41032365be6965ab1bf2fea54 100644 (file)
@@ -61,14 +61,12 @@ static int __init early_init_dt_scan_serial(unsigned long node,
        char *p;
        int *addr;
 
-       pr_debug("search \"chosen\", depth: %d, uname: %s\n", depth, uname);
+       pr_debug("search \"serial\", depth: %d, uname: %s\n", depth, uname);
 
 /* find all serial nodes */
        if (strncmp(uname, "serial", 6) != 0)
                return 0;
 
-       early_init_dt_check_for_initrd(node);
-
 /* find compatible node with uartlite */
        p = of_get_flat_dt_prop(node, "compatible", &l);
        if ((strncmp(p, "xlnx,xps-uartlite", 17) != 0) &&