[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/6] Remove handling for the "vesa" boot argument.



This has been deprecated for about 4 years, so it's time for it to go.
---
 loader/loader.c |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index b43b6ed..c13b24f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1137,7 +1137,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
                      !strncasecmp(argv[i], "dmraid", 6) ||
                      !strncasecmp(argv[i], "nodmraid", 8) ||
                      !strncasecmp(argv[i], "xdriver=", 8) ||
-                     !strncasecmp(argv[i], "vesa", 4) ||
                      !strncasecmp(argv[i], "syslog=", 7)) { 
 
                 /* vnc implies graphical */
@@ -1161,16 +1160,7 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
                     flags |= LOADER_FLAGS_EARLY_NETWORKING;
                 }
 
-                if (!strncasecmp(argv[i], "vesa", 4)) {
-                    checked_asprintf(&extraArgs[numExtraArgs],
-                                     "--xdriver=vesa");
-
-                    logMessage(WARNING, "\"vesa\" command line argument is deprecated.  use \"xdriver=vesa\".");
-                } else {
-                    checked_asprintf(&extraArgs[numExtraArgs],"--%s",
-                                     argv[i]);
-                }
-
+                checked_asprintf(&extraArgs[numExtraArgs],"--%s", argv[i]);
                 numExtraArgs += 1;
 
                 if (numExtraArgs > (MAX_EXTRA_ARGS - 2)) {
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]