Re: [PATCH] PCI: endpoint: Remove API devm_pci_epc_destroy()
From: Zijun Hu
Date: Mon Feb 17 2025 - 07:07:05 EST
On 2025/2/14 23:40, Manivannan Sadhasivam wrote:
> On Mon, Feb 10, 2025 at 08:39:53PM +0800, Zijun Hu wrote:
>> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>>
>> Static devm_pci_epc_match() is only invoked by API devm_usb_put_phy(), and
> devm_usb_put_phy()? Did you mean to say 'devm_pci_epc_destroy()'?
>
yes. it is devm_pci_epc_destroy().
my mistake, thank you for pointing out this.
will correct in v2. (^^)
>> the API has not had callers since 2017-04-10 when it was introduced.
>>
>> Remove both the API and the static function.
>>
>> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> With above fixup,
>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
>
> - Mani