mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqdomain: remove the confused log
@ 2015-08-25  9:48 Huang Shijie
  2015-08-25 19:34 ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: Huang Shijie @ 2015-08-25  9:48 UTC (permalink / raw)
  To: jiang.liu; +Cc: marc.zyngier, tglx, linux-kernel, Huang Shijie

When the dynamic debug is enabled for irq domain, the kernel will print out:
  ------------------------------------------------------
    irqdomain:__irq_domain_add: irq: Added domain (null)
  ------------------------------------------------------

It does not print out the irq domain's name, since the @domain->name is NULL.
Keep the log here just makes people nervous.

Signed-off-by: Huang Shijie <shijie.huang@arm.com>
---
 kernel/irq/irqdomain.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 79baaf8..8c582de 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -66,7 +66,6 @@ struct irq_domain *__irq_domain_add(struct device_node *of_node, int size,
 	list_add(&domain->link, &irq_domain_list);
 	mutex_unlock(&irq_domain_mutex);
 
-	pr_debug("Added domain %s\n", domain->name);
 	return domain;
 }
 EXPORT_SYMBOL_GPL(__irq_domain_add);
-- 
2.1.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-26  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-25  9:48 [PATCH] irqdomain: remove the confused log Huang Shijie
2015-08-25 19:34 ` Thomas Gleixner
2015-08-26  1:37   ` Huang Shijie
2015-08-26  7:50     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®