TTY: serial_core, remove superfluous set_task_state
authorJiri Slaby <jslaby@suse.cz>
Wed, 20 Apr 2011 08:43:17 +0000 (10:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 21:19:12 +0000 (14:19 -0700)
commitc831cff256c86588976e66bef7897633d534846c
tree8501a1e3c6e89f99f12106c1274743d51c41f1c3
parent32ad3a77b256948a326c3f68db6acaad2b6953e7
TTY: serial_core, remove superfluous set_task_state

msleep* is guaranteed to return with TASK_RUNNING task state. And
since there is no other set_task_state in the paths of
uart_wait_until_sent, we need not to set_task_state to TASK_RUNNING.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/serial_core.c