From 656e17ea9d997db1bb37d90b7a447eb511af5a63 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 27 Oct 2010 15:34:19 -0700 Subject: [PATCH] drivers/char/hvc_console.c: remove unneeded __set_current_state(TASK_RUNNING) This doesn't do anything. Cc: Timur Tabi Cc: Benjamin Herrenschmidt Cc: Amit Shah Cc: Greg Kroah-Hartman Cc: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/hvc_console.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index 3afd62e856eb..e9cba13ee800 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -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; -- GitLab