]> git.dujemihanovic.xyz Git - linux.git/commit
stmmac: intel: Fix an error handling path in intel_eth_pci_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 5 Jun 2022 20:50:48 +0000 (22:50 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 Jun 2022 09:56:29 +0000 (11:56 +0200)
commit5e74a4b3ec1816e3bbfd715d46ae29d2508079cb
treed5a1a74848ad50323d7c41903e7625fcf88d6ca5
parentb8d91399775c55162073bb2aca061ec42e3d4bc1
stmmac: intel: Fix an error handling path in intel_eth_pci_probe()

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@wanadoo.fr>
Reviewed-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Link: https://lore.kernel.org/r/1ac9b6787b0db83b0095711882c55c77c8ea8da0.1654462241.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c