diff options
| author | Niklas Cassel <cassel@kernel.org> | 2024-03-20 12:31:52 +0100 |
|---|---|---|
| committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-04-10 18:02:04 +0000 |
| commit | 597ac0fa37b86833203c6c73ecbaa72ccc3781bd (patch) | |
| tree | b5f1d719fbd43d9c3c13f71880f51d07b185a21d /scripts/patch-kernel | |
| parent | e49eab944cfb3c0281100ab61e1c5d229e0f7b18 (diff) | |
PCI: endpoint: pci-epf-test: Clean up pci_epf_test_unbind()
Clean up pci_epf_test_unbind() by using a continue if we did not allocate
memory for the BAR index. This reduces the indentation level by one.
This makes pci_epf_test_unbind() more similar to pci_epf_test_set_bar().
Link: https://lore.kernel.org/linux-pci/20240320113157.322695-6-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
