]> Gentwo Git Trees - linux/.git/commit
PCI: endpoint: Remove unused devm_pci_epc_destroy()
authorZijun Hu <quic_zijuhu@quicinc.com>
Mon, 17 Feb 2025 12:26:46 +0000 (20:26 +0800)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Fri, 21 Feb 2025 01:01:42 +0000 (01:01 +0000)
commit19544a1b9f8eb9d12b16fccef8f499e0fb51713f
tree80ed30980a6a7651354e2dcb35ebf60e2670524a
parentd3da7d6c12bba3c0a0bb85a2f7837e2029e1b7be
PCI: endpoint: Remove unused devm_pci_epc_destroy()

The static function devm_pci_epc_match() is only invoked within the
devm_pci_epc_destroy(). However, since it was initially introduced,
this new API has had no callers.

Thus, remove both the unused API and the static function.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250217-remove_api-v2-1-b169c9117045@quicinc.com
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Documentation/PCI/endpoint/pci-endpoint.rst
drivers/pci/endpoint/pci-epc-core.c
include/linux/pci-epc.h