diff options
| author | 2023-04-15 11:35:42 +0900 | |
|---|---|---|
| committer | 2023-06-23 15:04:15 -0500 | |
| commit | 4c50f933f50e018653a11bd77eb872d46d67c193 (patch) | |
| tree | 63e37534605f27fc54866e03ad6f218932134e8e /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | misc: pci_endpoint_test: Do not write status in IRQ handler (diff) | |
misc: pci_endpoint_test: Simplify pci_endpoint_test_msi_irq()
Simplify the code of pci_endpoint_test_msi_irq() by correctly using
booleans: remove the msix comparison to false as that variable is already a
boolean, and directly return the result of the comparison of the raised
interrupt number.
Link: https://lore.kernel.org/r/20230415023542.77601-18-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
