Commit 6859e4f
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>1 parent 5a5095a commit 6859e4f
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
806 | 805 | | |
807 | 806 | | |
808 | 807 | | |
809 | | - | |
| 808 | + | |
810 | 809 | | |
811 | 810 | | |
812 | | - | |
813 | | - | |
814 | 811 | | |
815 | 812 | | |
816 | | - | |
817 | | - | |
| 813 | + | |
818 | 814 | | |
819 | 815 | | |
820 | 816 | | |
| |||
0 commit comments