Lines Matching defs:old_slot
980 * @old_slot: slot to remove
984 static int slot_remove(struct pci_func *old_slot)
988 if (old_slot == NULL)
991 next = cpqhp_slot_list[old_slot->bus];
995 if (next == old_slot) {
996 cpqhp_slot_list[old_slot->bus] = old_slot->next;
997 cpqhp_destroy_board_resources(old_slot);
998 kfree(old_slot);
1002 while ((next->next != old_slot) && (next->next != NULL))
1005 if (next->next == old_slot) {
1006 next->next = old_slot->next;
1007 cpqhp_destroy_board_resources(old_slot);
1008 kfree(old_slot);