summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-10-27 22:34:19 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 01:03:14 (GMT)
commit656e17ea9d997db1bb37d90b7a447eb511af5a63 (patch)
tree18f652ca50d90e23ad3dbc586fd69a4ebf1efa7d /drivers/char
parent713efa9a64fac01abc296228c5ca4f507217a8c9 (diff)
downloadlinux-fsl-qoriq-656e17ea9d997db1bb37d90b7a447eb511af5a63.tar.xz
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 3afd62e..e9cba13 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;