OSDN Git Service

serial: sccnxp: Remove useless timer_pending() check
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 24 May 2014 08:50:26 +0000 (12:50 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:41:58 +0000 (12:41 -0700)
commitbee18bdc9c0f383428cbf8c955b7bb8e6cc0d090
tree2c012745d7204904d2570cfa96988454d92991c5
parent85878399e7bf14bc36d191d3a0de54b2a40f29e7
serial: sccnxp: Remove useless timer_pending() check

sccnxp_timer() is triggered only by timer, so there are no need to
check for timer_pending().

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sccnxp.c