Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 656e17ea authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 713efa9a
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -713,7 +713,6 @@ static int khvcd(void *unused)
	struct hvc_struct *hp;
	struct hvc_struct *hp;


	set_freezable();
	set_freezable();
	__set_current_state(TASK_RUNNING);
	do {
	do {
		poll_mask = 0;
		poll_mask = 0;
		hvc_kicked = 0;
		hvc_kicked = 0;