mic: Remove unneeded NULL check
authorXu Wang <vulab@iscas.ac.cn>
Tue, 7 Jan 2020 10:00:35 +0000 (10:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 14:30:35 +0000 (15:30 +0100)
commite2f9d739b2877ddd43bb3132f837c80ed5430e39
treef31d94393f44cb91a581aa03496f474d0dd91828
parentcaf82f727e69b647f09d57a1fc56e69d22a5f483
mic: Remove unneeded NULL check

debugfs_remove_recursive will do NULL check, so remove
the redundant null check.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://lore.kernel.org/r/1578391235-603-1-git-send-email-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/card/mic_debugfs.c
drivers/misc/mic/cosm/cosm_debugfs.c
drivers/misc/mic/host/mic_debugfs.c