brcm80211: remove redundant condition check before debugfs_remove_recursive
authorzhong jiang <zhongjiang@huawei.com>
Sat, 8 Sep 2018 13:40:43 +0000 (21:40 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Sep 2018 12:10:16 +0000 (15:10 +0300)
commit761cb7cdef1a27d7b90cd061d19b116a74ab4aff
treeb2d2e172018e17196730a002a091150759df6b56
parent59c2a30d36c8ae430d26a902c4c9665ea33ccee5
brcm80211: remove redundant condition check before debugfs_remove_recursive

debugfs_remove_recursive has taken IS_ERR_OR_NULL into account. So just
remove the condition check before debugfs_remove_recursive.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c