diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-09-30 10:48:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-30 15:11:09 -0700 |
commit | df8aeaa8268f11dc3c2d0975954624cf324eab15 (patch) | |
tree | c43e49089657684fd32ed4e5f0c21761bdef5229 /drivers/net/ethernet/pensando/ionic/ionic_dev.h | |
parent | Merge branch 'tcp-exponential-backoff-in-tcp_send_ack' (diff) | |
download | linux-dev-df8aeaa8268f11dc3c2d0975954624cf324eab15.tar.xz linux-dev-df8aeaa8268f11dc3c2d0975954624cf324eab15.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_dev.h')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_dev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_dev.h b/drivers/net/ethernet/pensando/ionic/ionic_dev.h index 8842dc4a716f..c109cd5a0471 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_dev.h +++ b/drivers/net/ethernet/pensando/ionic/ionic_dev.h @@ -283,7 +283,6 @@ static inline bool ionic_q_has_space(struct ionic_queue *q, unsigned int want) void ionic_init_devinfo(struct ionic *ionic); int ionic_dev_setup(struct ionic *ionic); -void ionic_dev_teardown(struct ionic *ionic); void ionic_dev_cmd_go(struct ionic_dev *idev, union ionic_dev_cmd *cmd); u8 ionic_dev_cmd_status(struct ionic_dev *idev); |