diff mbox

[06/17] Fix oops when rmmoding

Message ID 1352757511-26957-7-git-send-email-maxtram95@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Maxim Mikityanskiy Nov. 12, 2012, 9:58 p.m. UTC
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
---
 r8180_core.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/r8180_core.c b/r8180_core.c
index d903786..e04bb04 100644
--- a/r8180_core.c
+++ b/r8180_core.c
@@ -323,7 +323,6 @@  void rtl8180_proc_remove_one(struct net_device *dev)
 		remove_proc_entry("stats-tx", priv->dir_dev);
 		remove_proc_entry("stats-rx", priv->dir_dev);
 		remove_proc_entry("registers", priv->dir_dev);
-		remove_proc_entry(dev->name, rtl8180_proc);
 		priv->dir_dev = NULL;
 	}
 }