OpenCloudOS-Kernel/drivers/net/ethernet/stmicro/stmmac
Christophe JAILLET 5e74a4b3ec 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: 8accc46775 ("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>
2022-06-07 11:56:29 +02:00
..
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile stmmac: pci: Add dwmac support for Loongson 2021-06-18 11:48:34 -07:00
altr_tse_pcs.c net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-11 10:41:00 +01:00
altr_tse_pcs.h net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-11 10:41:00 +01:00
chain_mode.c
common.h net: stmmac: bump tc when get underflow error from DMA descriptor 2021-12-13 12:20:35 +00:00
descs.h
descs_com.h
dwmac-anarion.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-dwc-qos-eth.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-generic.c net: stmmac: add support for dwmac 3.40a 2021-10-08 16:22:39 +01:00
dwmac-imx.c net: stmmac: dwmac-imx: comment spelling fix 2022-04-26 17:28:31 -07:00
dwmac-ingenic.c net: stmmac: Fix error return code in ingenic_mac_probe() 2021-06-16 12:02:38 -07:00
dwmac-intel-plat.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-intel.c stmmac: intel: Fix an error handling path in intel_eth_pci_probe() 2022-06-07 11:56:29 +02:00
dwmac-intel.h stmmac: intel: move definitions to dwmac-intel header file 2021-06-12 13:10:52 -07:00
dwmac-ipq806x.c net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() 2021-08-07 09:45:46 +01:00
dwmac-loongson.c stmmac: dwmac-loongson: change loongson_dwmac_driver from global to static 2022-04-04 12:47:54 +01:00
dwmac-lpc18xx.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-mediatek.c stmmac: dwmac-mediatek: add support for mt8195 2022-03-16 12:49:23 +00:00
dwmac-meson.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-meson8b.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-oxnas.c net: stmmac: dwmac-oxnas: Add support for OX810SE 2022-01-12 09:05:02 -08:00
dwmac-qcom-ethqos.c net: stmmac: dwmac-qcom-ethqos: Enable RGMII functional clock on resume 2022-03-24 17:48:02 -07:00
dwmac-rk.c net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup 2021-12-16 10:47:48 +00:00
dwmac-socfpga.c net: ethernet: stmmac: fix write to sgmii_adapter_base 2022-04-22 16:31:56 -07:00
dwmac-sti.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-stm32.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
dwmac-sun8i.c net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux() 2022-04-29 19:24:08 -07:00
dwmac-sunxi.c net: stmicro: handle clk_prepare() failure during init 2021-05-13 17:33:18 +02:00
dwmac-visconti.c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request. 2022-01-28 14:28:30 +00:00
dwmac4.h
dwmac4_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac4_descs.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
dwmac4_descs.h
dwmac4_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwmac4_dma.h net: stmmac: Add HW descriptor prefetch setting for DWMAC Core 5.20 onwards 2021-04-22 15:02:40 -07:00
dwmac4_lib.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac5.c net: stmmac: enable platform specific safety features 2021-06-01 16:59:50 -07:00
dwmac5.h net: stmmac: enable platform specific safety features 2021-06-01 16:59:50 -07:00
dwmac100.h
dwmac100_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac100_dma.c
dwmac1000.h net: stmmac: dwmac1000: Fix extended MAC address registers definition 2021-06-11 13:05:55 -07:00
dwmac1000_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac1000_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwmac_dma.h net: stmmac: dump gmac4 DMA registers correctly 2022-01-31 21:21:10 -08:00
dwmac_lib.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwxgmac2.h
dwxgmac2_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwxgmac2_descs.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
dwxgmac2_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwxlgmac2.h
enh_desc.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
hwif.c
hwif.h net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
mmc.h
mmc_core.c
norm_desc.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
ring_mode.c
stmmac.h net: stmmac: optimize locking around PTP clock reads 2022-02-07 19:59:13 -08:00
stmmac_ethtool.c net: stmmac: dump gmac4 DMA registers correctly 2022-01-31 21:21:10 -08:00
stmmac_hwtstamp.c net: stmmac: Use readl_poll_timeout_atomic() in atomic state 2022-04-20 11:10:27 +01:00
stmmac_main.c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure 2022-06-02 10:14:30 -07:00
stmmac_mdio.c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure 2022-06-02 10:14:30 -07:00
stmmac_pci.c net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe() 2022-05-10 19:12:57 -07:00
stmmac_pcs.h
stmmac_platform.c net: stmmac: Fix unset max_speed difference between DT and non-DT platforms 2022-04-01 21:37:31 -07:00
stmmac_platform.h of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
stmmac_ptp.c net: stmmac: optimize locking around PTP clock reads 2022-02-07 19:59:13 -08:00
stmmac_ptp.h net: stmmac: Add support for external trigger timestamping 2021-04-14 12:57:45 -07:00
stmmac_selftests.c net: stmmac: fix out-of-bounds access in a selftest 2022-05-20 17:04:51 -07:00
stmmac_tc.c net: stmmac: add tc flower filter for EtherType matching 2021-12-23 11:20:49 +00:00
stmmac_xdp.c net: stmmac: enhance XDP ZC driver level switching performance 2021-11-15 12:56:34 +00:00
stmmac_xdp.h net: stmmac: Enable RX via AF_XDP zero-copy 2021-04-13 15:06:51 -07:00