Don't check for boot_verbose in the environment. The loader does

that already and sets RB_VERBOSE. The loader has always done it.
This commit is contained in:
Marcel Moolenaar 2010-03-20 04:22:22 +00:00
parent d2f1e0e4a5
commit a5cef7a1ce

View File

@ -718,16 +718,6 @@ ia64_init(void)
*/
boothowto = bootinfo.bi_boothowto;
/*
* Catch case of boot_verbose set in environment.
*/
if ((p = getenv("boot_verbose")) != NULL) {
if (strcmp(p, "yes") == 0 || strcmp(p, "YES") == 0) {
boothowto |= RB_VERBOSE;
}
freeenv(p);
}
if (boothowto & RB_VERBOSE)
bootverbose = 1;
@ -796,7 +786,7 @@ ia64_init(void)
init_param1();
p = getenv("kernelname");
if (p) {
if (p != NULL) {
strncpy(kernelname, p, sizeof(kernelname) - 1);
freeenv(p);
}