diff options
| -rw-r--r-- | drivers/net/netconsole.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index f0ad56c13933..b3321129a83c 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c | |||
| @@ -643,7 +643,6 @@ static int netconsole_netdev_event(struct notifier_block *this, | |||
| 643 | __netpoll_cleanup(&nt->np); | 643 | __netpoll_cleanup(&nt->np); |
| 644 | dev_put(nt->np.dev); | 644 | dev_put(nt->np.dev); |
| 645 | nt->np.dev = NULL; | 645 | nt->np.dev = NULL; |
| 646 | netconsole_target_put(nt); | ||
| 647 | } | 646 | } |
| 648 | nt->enabled = 0; | 647 | nt->enabled = 0; |
| 649 | stopped = true; | 648 | stopped = true; |
