can: pch_can: fix invalid error codes
[pandora-kernel.git] / drivers / net / netconsole.c
index e888202..01b104e 100644 (file)
@@ -652,7 +652,6 @@ static int netconsole_netdev_event(struct notifier_block *this,
                                                          flags);
                                        dev_put(nt->np.dev);
                                        nt->np.dev = NULL;
-                                       netconsole_target_put(nt);
                                }
                                nt->enabled = 0;
                                stopped = true;