mei: fix debugfs files leak on error path
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 24 Aug 2015 12:27:37 +0000 (15:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 05:44:51 +0000 (22:44 -0700)
commit5964db08767fb93376c0a0ddcf975fec1c0d1bd9
tree3775375b032efd2b44891a8f5e558dd73e95ad24
parenta42fb351ca1f340f8307468be765e3f77ddedda9
mei: fix debugfs files leak on error path

if dbgfs_dir is not set then debugfs_remove_recursive
is not called on the error path

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/debugfs.c