Skip to contentSkip to conversation

irq: tsk->comm is an array

PATCH In review Alan Cox 2 participants 2 messages Nov 6, 2012 IRQ

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 irq: tsk->comm is an array

From: Alan Cox <[email protected]>

The array check is useless so remove it.

---

 kernel/irq/manage.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/manage.c +1 -1
index 4c69326..ba3853a 100644
@@ -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);