]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
irq: tsk->comm is an array
authorAlan Cox <alan@linux.intel.com>
Tue, 18 Dec 2012 22:21:25 +0000 (14:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 23:02:11 +0000 (15:02 -0800)
The array check is useless so remove it.

[akpm@linux-foundation.org: remove comment, per David]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/manage.c

index 35c70c9e24d8f2ec6011800217e3bcd1880d6ca6..e49a288fa479036ebb25b907787b34568d421964 100644 (file)
@@ -818,7 +818,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);