]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit8725fcd99a3084a7a15a6e70882bfa3fe7925f52
treed9a157a7b133a1145a0164ca4563d3265851edbd
parentd6f83427ff422b3a65e4a6bd84c010f78d4a30a5
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