Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[sfrench/cifs-2.6.git] / drivers / acpi / custom_method.c
index e967c1173ba3280ac1cb5b11c9785a785619b320..4451877f83b63932149b0fd4e552129b2b790c18 100644 (file)
@@ -92,8 +92,7 @@ static int __init acpi_custom_method_init(void)
 
 static void __exit acpi_custom_method_exit(void)
 {
-       if (cm_dentry)
-               debugfs_remove(cm_dentry);
+       debugfs_remove(cm_dentry);
 }
 
 module_init(acpi_custom_method_init);