diff options
author | Alan Cox <[email protected]> | 2012-12-18 14:21:25 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-12-18 15:02:11 -0800 |
commit | 19af395d7c0daaafdebd441a162128aaac575912 (patch) | |
tree | 1101927675dd8fc7e19da64b28c8eed4370f6ca4 | |
parent | f6af75dac3978d0b4d83939cb5d244b2a844820e (diff) |
irq: tsk->comm is an array
The array check is useless so remove it.
[[email protected]: remove comment, per David]
Signed-off-by: Alan Cox <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 35c70c9e24d8..e49a288fa479 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -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); |