]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53e2a1762323bb0e86ed219dfe7f2f41862354a2
treec43e49089657684fd32ed4e5f0c21761bdef5229
parent06b9b0d4b0a1b83ddc979d58031e11ca31149d83
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