[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121106142849.21834.20965.stgit@localhost.localdomain>
Date: Tue, 06 Nov 2012 14:28:56 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] irq: tsk->comm is an array
From: Alan Cox <alan@...ux.intel.com>
The array check is useless so remove it.
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
kernel/irq/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 4c69326..ba3853a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -793,7 +793,7 @@ static void irq_thread_dtor(struct callback_head *unused)
action = kthread_data(tsk);
pr_err("exiting task \"%s\" (%d) is an active IRQ thread (irq %d)\n",
- tsk->comm ? tsk->comm : "", tsk->pid, action->irq);
+ tsk->comm, tsk->pid, action->irq);
desc = irq_to_desc(action->irq);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists