]> 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)
commit93710ec153905468883276b231246919d7cc619e
tree3fbac20260e2821ceb7e4fa57860d4442b5e6301
parent3ce48957b1db2ec8d8385878f70f88c3461712d1
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