]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/pci/hotplug/rpaphp_slot.c
[PATCH] PCI Hotplug: rpaphp: Move VIO registration
[linux-2.6.git] / drivers / pci / hotplug / rpaphp_slot.c
index ff2cbf0652d83879509fa45ed59d1d1c7f4c60b4..80402027c015a1a943920f30300c7e98b7e5819f 100644 (file)
@@ -220,13 +220,8 @@ int register_slot(struct slot *slot)
            __FUNCTION__, slot->name);
 
        list_add(&slot->rpaphp_slot_list, &rpaphp_slot_head);
-
-       if (slot->dev_type == VIO_DEV)
-               info("Slot [%s](VIO location=%s) registered\n",
-                    slot->name, slot->location);
-       else
-               info("Slot [%s](PCI location=%s) registered\n",
-                    slot->name, slot->location);
+       info("Slot [%s](PCI location=%s) registered\n", slot->name,
+                       slot->location);
        num_slots++;
        return 0;
 }