aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/misc/mic/card/mic_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mic/card/mic_debugfs.c')
-rw-r--r--drivers/misc/mic/card/mic_debugfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/mic/card/mic_debugfs.c b/drivers/misc/mic/card/mic_debugfs.c
index 3ee3d2402634..b58608829b18 100644
--- a/drivers/misc/mic/card/mic_debugfs.c
+++ b/drivers/misc/mic/card/mic_debugfs.c
@@ -65,9 +65,6 @@ void __init mic_create_card_debug_dir(struct mic_driver *mdrv)
*/
void mic_delete_card_debug_dir(struct mic_driver *mdrv)
{
- if (!mdrv->dbg_dir)
- return;
-
debugfs_remove_recursive(mdrv->dbg_dir);
}