diff options
author | Maxim Mikityanskiy <maxtram95@gmail.com> | 2012-11-13 17:28:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 20:40:00 (GMT) |
commit | 17e81bd3d3afe8b1791d96c34e3f2c5b3b7ed1df (patch) | |
tree | 655f032dee3eb44ec7063b100ab5928a5f031853 /drivers/staging/rtl8187se/r8180_core.c | |
parent | d4457a8e42a3cd71c06032e5ab05175f31d589ec (diff) | |
download | linux-fsl-qoriq-17e81bd3d3afe8b1791d96c34e3f2c5b3b7ed1df.tar.xz |
staging: rtl8187se: Fixed oops when rmmoding
Don't remove procfs entry that is never created
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_core.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 6ec3a93..8139f26 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/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; } } |