diff options
author | 2023-04-15 11:35:42 +0900 | |
---|---|---|
committer | 2023-06-23 15:04:15 -0500 | |
commit | 4c50f933f50e018653a11bd77eb872d46d67c193 (patch) | |
tree | 63e37534605f27fc54866e03ad6f218932134e8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | misc: pci_endpoint_test: Do not write status in IRQ handler (diff) | |
download | wireguard-linux-4c50f933f50e018653a11bd77eb872d46d67c193.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions