Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew Morton and committed by
Linus Torvalds
656e17ea 713efa9a

-1
-1
drivers/char/hvc_console.c
··· 713 713 struct hvc_struct *hp; 714 714 715 715 set_freezable(); 716 - __set_current_state(TASK_RUNNING); 717 716 do { 718 717 poll_mask = 0; 719 718 hvc_kicked = 0;