]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[main] do not set state->keyboard twice
authorFrederic Crozat <fcrozat@mandriva.com>
Wed, 21 Apr 2010 09:48:57 +0000 (11:48 +0200)
committerFrederic Crozat <fcrozat@mandriva.com>
Wed, 21 Apr 2010 09:48:57 +0000 (11:48 +0200)
state->keyboard is set already in set_keyboard, there is no need to do
the work twice.

src/main.c

index 0ae6500de0a8341e91006ddff5f8f6b2be33cf98..03a8a6a3ed53504d26aded6caf4c8e21845d6652 100644 (file)
@@ -1290,7 +1290,6 @@ add_display_and_keyboard_for_terminal (state_t    *state,
   display = ply_text_display_new (state->terminal);
 
   ply_list_append_data (state->text_displays, display);
-  state->keyboard = keyboard;
   set_keyboard (state, keyboard);
 }