]> www.infradead.org Git - users/dwmw2/linux.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)
commit1621e70fc79d77dfeef4e4ba90e125405a274db3
tree3fbac20260e2821ceb7e4fa57860d4442b5e6301
parentfe2c9c61f668cde28dac2b188028c5299cedcc1e
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