diff options
author | Niklas Cassel <cassel@kernel.org> | 2024-03-20 14:31:52 +0300 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-04-10 21:02:04 +0300 |
commit | 597ac0fa37b86833203c6c73ecbaa72ccc3781bd (patch) | |
tree | b5f1d719fbd43d9c3c13f71880f51d07b185a21d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e49eab944cfb3c0281100ab61e1c5d229e0f7b18 (diff) | |
download | linux-597ac0fa37b86833203c6c73ecbaa72ccc3781bd.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions