Lines Matching refs:old_slot
979 * @old_slot: slot to remove
983 static int slot_remove(struct pci_func *old_slot)
987 if (old_slot == NULL)
990 next = cpqhp_slot_list[old_slot->bus];
994 if (next == old_slot) {
995 cpqhp_slot_list[old_slot->bus] = old_slot->next;
996 cpqhp_destroy_board_resources(old_slot);
997 kfree(old_slot);
1001 while ((next->next != old_slot) && (next->next != NULL))
1004 if (next->next == old_slot) {
1005 next->next = old_slot->next;
1006 cpqhp_destroy_board_resources(old_slot);
1007 kfree(old_slot);