From: Andrew Morton Date: Wed, 27 Oct 2010 22:34:19 +0000 (-0700) Subject: drivers/char/hvc_console.c: remove unneeded __set_current_state(TASK_RUNNING) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=656e17ea9d997db1bb37d90b7a447eb511af5a63;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;