]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: drop check_for_consoles call at startup
authorRay Strode <rstrode@redhat.com>
Wed, 27 Nov 2013 05:26:45 +0000 (00:26 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 3 Dec 2013 15:51:32 +0000 (10:51 -0500)
It was only used to make kernel_console_tty get set,
which we no longer have.

src/main.c

index 6e774ba2b45bc3af4aa9d01a44a959ea8654f8bd..4dceb9ab90f4e1b234d78c6e66bc8e7dab8d11ec 100644 (file)
@@ -2265,8 +2265,6 @@ initialize_environment (state_t *state)
   state->messages = ply_list_new ();
   state->keyboard = NULL;
 
-  check_for_consoles (state);
-
   redirect_standard_io_to_dev_null ();
 
   ply_trace ("Making sure " PLYMOUTH_RUNTIME_DIR " exists");