Commit a7e705af authored by Geliang Tang's avatar Geliang Tang Committed by Thomas Gleixner

x86/irq: Drop unlikely before IS_ERR_OR_NULL

IS_ERR_OR_NULL already contain an unlikely compiler flag. Drop it.
Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/03d18502ed7ed417f136c091f417d2d88c147ec6.1443667610.git.geliangtang@163.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 09907ca6
...@@ -72,7 +72,7 @@ bool handle_irq(struct irq_desc *desc, struct pt_regs *regs) ...@@ -72,7 +72,7 @@ bool handle_irq(struct irq_desc *desc, struct pt_regs *regs)
{ {
stack_overflow_check(regs); stack_overflow_check(regs);
if (unlikely(IS_ERR_OR_NULL(desc))) if (IS_ERR_OR_NULL(desc))
return false; return false;
generic_handle_irq_desc(desc); generic_handle_irq_desc(desc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment