]> www.infradead.org Git - users/jedix/linux-maple.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>
Sat, 8 Mar 2025 14:47:31 +0000 (14:47 +0000)
commit22a01177c30fb4c0ea5e5f9f26473b5ee4660310
tree80ed30980a6a7651354e2dcb35ebf60e2670524a
parentaba2b17810d7e2d2c4942c56fa3bb0f6e6d616ff
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