sysfs_remove_bin_file: no return value, dump_stack on error
[linux-2.6.git] / drivers / pci / hotplug / acpiphp_ibm.c
index 317457dd401451b2797f8c8135165d983f09d5f1..d0a07d9ab30c8e314dad00a2eab0becbf118d788 100644 (file)
@@ -487,9 +487,7 @@ static void __exit ibm_acpiphp_exit(void)
        if (ACPI_FAILURE(status))
                err("%s: Notification handler removal failed\n", __FUNCTION__);
        /* remove the /sys entries */
-       if (sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr))
-               err("%s: removal of sysfs file apci_table failed\n",
-                               __FUNCTION__);
+       sysfs_remove_bin_file(sysdir, &ibm_apci_table_attr);
 }
 
 module_init(ibm_acpiphp_init);