diff options
author | Andreas Platschek <andi.platschek@gmail.com> | 2013-07-26 06:46:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 16:19:48 -0700 |
commit | cf940ebe98e693aec2d10f9af2fb84eb55234e3c (patch) | |
tree | 988fddbce4712cdd7425fb1c6fba802f8b34be3f /drivers/tty/serial/jsm/jsm_tty.c | |
parent | 17fae28efe8f460918e13aedd7163690206c682d (diff) |
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 <andi.platschek@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/jsm/jsm_tty.c')
0 files changed, 0 insertions, 0 deletions