]> git.baikalelectronics.ru Git - kernel.git/commit
x86/irq: Check for VECTOR_UNUSED directly
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 19 Aug 2019 19:36:39 +0000 (21:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Aug 2019 21:19:07 +0000 (23:19 +0200)
commit885a1c19f22b2df7658c72c2b8f6b1e6c656075f
treed9a157a7b133a1145a0164ca4563d3265851edbd
parent0ad5ba73e063643059c6734f3a72d2254b03fa01
x86/irq: Check for VECTOR_UNUSED directly

It's simpler and more intuitive to directly check for VECTOR_UNUSED than
checking whether the other error codes are not set.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/caeaca93-5ee1-cea1-8894-3aa0d5b19241@gmail.com
arch/x86/kernel/irq.c