From: Andreas Platschek Date: Fri, 26 Jul 2013 04:46:37 +0000 (+0200) Subject: tty: Remove dead code X-Git-Tag: v3.12-rc1~182^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf940ebe98e693aec2d10f9af2fb84eb55234e3c;p=pandora-kernel.git tty: Remove dead code -> The ledptrs[] array is never initialized. -> There is no place where kbd->ledmode is set to LED_SHOW_MEM therefore the if statement does not make much sense. -> Since LED_SHOW_MEM is not used, it can be removed from the header file as well. Signed-off-by: Andreas Platschek Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed