diff options
author | Damien Le Moal <[email protected]> | 2023-04-15 11:35:42 +0900 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-06-23 15:04:15 -0500 |
commit | 4c50f933f50e018653a11bd77eb872d46d67c193 (patch) | |
tree | 63e37534605f27fc54866e03ad6f218932134e8e /lib/test_fortify/write_overflow-strcpy.c | |
parent | 168e6f62e4298815125591ff9c85d374b2a93c6c (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/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions