From: Frederic Crozat Date: Wed, 21 Apr 2010 09:48:57 +0000 (+0200) Subject: [main] do not set state->keyboard twice X-Git-Tag: 0.8.3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979aeacb4a76050f69ce07e52ed282707bc03f01;p=thirdparty%2Fplymouth.git [main] do not set state->keyboard twice state->keyboard is set already in set_keyboard, there is no need to do the work twice. --- diff --git a/src/main.c b/src/main.c index 0ae6500d..03a8a6a3 100644 --- a/src/main.c +++ b/src/main.c @@ -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); }