diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2024-04-18 13:29:59 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-05-28 11:13:48 -0500 |
commit | 6859e4f22af359de2fe49c92c3323f20e53e9031 (patch) | |
tree | b01d1d25ebb434ecf23f323d7b0c1e6c82d6c741 /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
parent | 5a5095a8bd1bd349cce1c879e5e44407a34dda8a (diff) |
PCI: endpoint: pci-epf-test: Use 'msix_capable' flag directly in pci_epf_test_alloc_space()
Instead of using a local variable to cache the 'msix_capable' flag, use it
directly to simplify the code.
Suggested-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/linux-pci/20240418-pci-epf-test-fix-v2-2-eacd54831444@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions