mirror of https://gitee.com/openkylin/linux.git
drivers/char/hvc_console.c: remove unneeded __set_current_state(TASK_RUNNING)
This doesn't do anything. Cc: Timur Tabi <timur@freescale.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Amit Shah <amit.shah@redhat.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Kumar Gala <galak@gate.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
713efa9a64
commit
656e17ea9d
|
@ -713,7 +713,6 @@ static int khvcd(void *unused)
|
|||
struct hvc_struct *hp;
|
||||
|
||||
set_freezable();
|
||||
__set_current_state(TASK_RUNNING);
|
||||
do {
|
||||
poll_mask = 0;
|
||||
hvc_kicked = 0;
|
||||
|
|
Loading…
Reference in New Issue