mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
console: cosmetics: remove #if 0
Remove the #if 0 present since the first version of console.c Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7cf5b4053b
commit
449efce69a
@ -1029,11 +1029,6 @@ done:
|
|||||||
|
|
||||||
gd->flags |= GD_FLG_DEVINIT; /* device initialization completed */
|
gd->flags |= GD_FLG_DEVINIT; /* device initialization completed */
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* If nothing usable installed, use only the initial console */
|
|
||||||
if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL))
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
print_pre_console_buffer(flushpoint);
|
print_pre_console_buffer(flushpoint);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -1105,11 +1100,6 @@ int console_init_r(void)
|
|||||||
|
|
||||||
gd->flags |= GD_FLG_DEVINIT; /* device initialization completed */
|
gd->flags |= GD_FLG_DEVINIT; /* device initialization completed */
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* If nothing usable installed, use only the initial console */
|
|
||||||
if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL))
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
print_pre_console_buffer(flushpoint);
|
print_pre_console_buffer(flushpoint);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user