diff options
author | Michal Simek <monstr@monstr.eu> | 2010-12-20 09:03:11 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-01-03 04:12:43 -0500 |
commit | 27cbe8d4d1012847029dd8d7af1d6a41c22ddec6 (patch) | |
tree | 7b5070afd22e6cd3768df4fa6d90e897969b68c6 /arch/microblaze/kernel | |
parent | e3288f310111f7d18c323d95ae998765dee8c825 (diff) |
microblaze: Remove useless early_init_dt_check_for_initrd
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>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/prom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index a105301e2b7f..c881393f07fd 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
@@ -61,14 +61,12 @@ static int __init early_init_dt_scan_serial(unsigned long node, | |||
61 | char *p; | 61 | char *p; |
62 | int *addr; | 62 | int *addr; |
63 | 63 | ||
64 | pr_debug("search \"chosen\", depth: %d, uname: %s\n", depth, uname); | 64 | pr_debug("search \"serial\", depth: %d, uname: %s\n", depth, uname); |
65 | 65 | ||
66 | /* find all serial nodes */ | 66 | /* find all serial nodes */ |
67 | if (strncmp(uname, "serial", 6) != 0) | 67 | if (strncmp(uname, "serial", 6) != 0) |
68 | return 0; | 68 | return 0; |
69 | 69 | ||
70 | early_init_dt_check_for_initrd(node); | ||
71 | |||
72 | /* find compatible node with uartlite */ | 70 | /* find compatible node with uartlite */ |
73 | p = of_get_flat_dt_prop(node, "compatible", &l); | 71 | p = of_get_flat_dt_prop(node, "compatible", &l); |
74 | if ((strncmp(p, "xlnx,xps-uartlite", 17) != 0) && | 72 | if ((strncmp(p, "xlnx,xps-uartlite", 17) != 0) && |