From: Alan Cox Date: Tue, 18 Dec 2012 22:21:25 +0000 (-0800) Subject: irq: tsk->comm is an array X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~17549^2~43 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=19af395d7c0daaafdebd441a162128aaac575912;p=mirror_ubuntu-focal-kernel.git irq: tsk->comm is an array The array check is useless so remove it. [akpm@linux-foundation.org: remove comment, per David] Signed-off-by: Alan Cox Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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);