ionic: stop watchdog timer earlier on remove
authorShannon Nelson <snelson@pensando.io>
Wed, 30 Sep 2020 17:48:27 +0000 (10:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 22:11:09 +0000 (15:11 -0700)
commitdf8aeaa8268f11dc3c2d0975954624cf324eab15
treec43e49089657684fd32ed4e5f0c21761bdef5229
parent9b5cbf469d7efb8553635b1f25a6337101dd5f00
ionic: stop watchdog timer earlier on remove

We need to be better at making sure we don't have a link check
watchdog go off while we're shutting things down, so let's stop
the timer as soon as we start the remove.

Meanwhile, since that was the only thing in
ionic_dev_teardown(), simplify and remove that function.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c
drivers/net/ethernet/pensando/ionic/ionic_dev.h