Pull acpi_device_handle_cleanup into release branch
[sfrench/cifs-2.6.git] / drivers / pci / hotplug / rpaphp_core.c
index 6e79f5675b0d9b804a8c8465e07f0884d59dc63a..076bd6dcafae6ffa588898f2930f47c3f9833a10 100644 (file)
@@ -22,7 +22,6 @@
  * Send feedback to <lxie@us.ibm.com>
  *
  */
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
@@ -360,9 +359,6 @@ static int __init rpaphp_init(void)
        while ((dn = of_find_node_by_type(dn, "pci")))
                rpaphp_add_slot(dn);
 
-       if (!num_slots)
-               return -ENODEV;
-
        return 0;
 }