mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
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>
This commit is contained in:
parent
d4457a8e42
commit
17e81bd3d3
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue