ionic: extract common bits from ionic_remove
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 20 Jul 2023 19:08:13 +0000 (12:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2023 09:42:33 +0000 (10:42 +0100)
commit87d7a9f3734fb314a15b579137cd9d69892b36aa
tree7910afa64cf9f11fe19e5a2a46d896e2a48e7474
parent67a8976780858461b3c2d0dc501d207452543c53
ionic: extract common bits from ionic_remove

Pull out a chunk of code from ionic_remove() that will
be common in teardown paths.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c