projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09907ca
)
x86/irq: Drop unlikely before IS_ERR_OR_NULL
author
Geliang Tang
<geliangtang@163.com>
Thu, 1 Oct 2015 02:55:29 +0000
(10:55 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 1 Oct 2015 09:08:56 +0000
(11:08 +0200)
IS_ERR_OR_NULL already contain an unlikely compiler flag. Drop it.
Signed-off-by: Geliang 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.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/irq_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/irq_64.c
b/arch/x86/kernel/irq_64.c
index c767cf2bc80a0b8f44be521f6171c3d8d4fa7b7d..206d0b90a3ab1e800e372ada94b2bd9f8dac4e5b 100644
(file)
--- 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);