diff options
| author | Wang Jiang <[email protected]> | 2024-11-04 10:05:14 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-11-16 18:20:11 +0000 |
| commit | 9b80bdb10aee04ce7289896e6bdad13e33972636 (patch) | |
| tree | 446feb5a4eb5c1bacf6973be9f1a826e0b469561 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: dwc: ep: Use align addr function for dw_pcie_ep_raise_{msi,msix}_irq() (diff) | |
| download | kernel-9b80bdb10aee04ce7289896e6bdad13e33972636.tar.gz kernel-9b80bdb10aee04ce7289896e6bdad13e33972636.zip | |
PCI: endpoint: Remove surplus return statement from pci_epf_test_clean_dma_chan()
Remove a surplus return statement from the void function that has been
added in the commit commit 8353813c88ef ("PCI: endpoint: Enable DMA
tests for endpoints with DMA capabilities").
Especially, as an empty return statements at the end of a void functions
serve little purpose.
This fixes the following checkpatch.pl script warning:
WARNING: void function return statements are not generally useful
#296: FILE: drivers/pci/endpoint/functions/pci-epf-test.c:296:
+ return;
+}
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wang Jiang <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
