public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] x86/irq: drop unlikely before IS_ERR_OR_NULL
@ 2015-10-01  2:55 Geliang Tang
  2015-10-01  2:55 ` [PATCH 2/3] Input: alps: " Geliang Tang
  2015-10-01  9:12 ` [tip:x86/apic] x86/irq: Drop " tip-bot for Geliang Tang
  0 siblings, 2 replies; 8+ messages in thread
From: Geliang Tang @ 2015-10-01  2:55 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, Brian Gerst,
	Andy Lutomirski
  Cc: Geliang Tang, linux-kernel

IS_ERR_OR_NULL already contain an unlikely compiler flag. Drop it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
---
 arch/x86/kernel/irq_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index c767cf2..206d0b9 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -72,7 +72,7 @@ bool handle_irq(struct irq_desc *desc, struct pt_regs *regs)
 {
 	stack_overflow_check(regs);
 
-	if (unlikely(IS_ERR_OR_NULL(desc)))
+	if (IS_ERR_OR_NULL(desc))
 		return false;
 
 	generic_handle_irq_desc(desc);
-- 
2.5.0



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

end of thread, other threads:[~2015-10-02 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01  2:55 [PATCH 1/3] x86/irq: drop unlikely before IS_ERR_OR_NULL Geliang Tang
2015-10-01  2:55 ` [PATCH 2/3] Input: alps: " Geliang Tang
2015-10-01  2:55   ` [PATCH 3/3] cxlflash: " Geliang Tang
2015-10-01 13:00     ` Manoj Kumar
2015-10-01 14:49     ` Matthew R. Ochs
2015-10-01  7:30   ` [PATCH 2/3] Input: alps: " Pali Rohár
2015-10-02 18:29     ` Dmitry Torokhov
2015-10-01  9:12 ` [tip:x86/apic] x86/irq: Drop " tip-bot for Geliang Tang

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