]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: intel: Simplify intel_eth_pci_remove()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 2 Sep 2022 16:26:56 +0000 (18:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 13:19:56 +0000 (14:19 +0100)
commit3d2e3d5214f32e070521f0d9df3d2af4d99e4603
tree3fbac20260e2821ceb7e4fa57860d4442b5e6301
parent5f23e1396e1fa15d33a2f657526aec5de267b6d7
stmmac: intel: Simplify intel_eth_pci_remove()

There is no point to call pcim_iounmap_regions() in the remove function,
this frees a managed resource that would be release by the framework
anyway.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c