[PATCH] stmmac: intel: Fix an error handling path in intel_eth_pci_probe()
Wong Vee Khee
vee.khee.wong at linux.intel.com
Sun Jun 5 23:26:50 PDT 2022
On Sun, Jun 05, 2022 at 10:50:48PM +0200, Christophe JAILLET wrote:
> When the managed API is used, there is no need to explicitly call
> pci_free_irq_vectors().
>
> This looks to be a left-over from the commit in the Fixes tag. Only the
> .remove() function had been updated.
>
> So remove this unused function call and update goto label accordingly.
>
> Fixes: 8accc467758e ("stmmac: intel: use managed PCI function on probe and resume")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
> drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
LGTM
Reviewed-by: Wong Vee Khee <vee.khee.wong at linux.intel.com>
More information about the linux-arm-kernel
mailing list