summaryrefslogtreecommitdiff
path: root/drivers/pci/endpoint
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2023-04-15 11:35:42 +0900
committerBjorn Helgaas <bhelgaas@google.com>2023-06-23 15:04:15 -0500
commit4c50f933f50e018653a11bd77eb872d46d67c193 (patch)
tree63e37534605f27fc54866e03ad6f218932134e8e /drivers/pci/endpoint
parent168e6f62e4298815125591ff9c85d374b2a93c6c (diff)
downloadlwn-4c50f933f50e018653a11bd77eb872d46d67c193.tar.gz
lwn-4c50f933f50e018653a11bd77eb872d46d67c193.zip
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 'drivers/pci/endpoint')
0 files changed, 0 insertions, 0 deletions