From: Eliad Peller Date: Wed, 15 Dec 2010 09:47:54 +0000 (+0200) Subject: wl12xx: remove redundant debugfs_remove_recursive() call X-Git-Tag: v2.6.39-rc1~468^2~417^2~61^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2c04a15f5fe5d169fe343c9eb7c1856d3033d3;p=pandora-kernel.git wl12xx: remove redundant debugfs_remove_recursive() call Upon rmmod, the /ieee80211/phyX dir is being removed. later, we try to remove /ieee80211/phyX/wl12xx, which might result in NULL dereference. Remove the excessive debugfs_remove_recursive() call. (consequently, there is no more need to save wl->rootdir) Reported-by: Arik Nemtsov Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed