struct pci_dev *bridge_dev;  bridge_dev = slot->bridge; if (!bridge_dev) { printk(KERN_ERR "%s: unexpected null bridge device\n", __FUNCTION__); return -EIO; } 
struct pci_bus *bus = slot->bus; 
int dlpar_remove_pci_slot(struct slot *slot, char *drc_name){	struct pci_dev *bridge_dev;	bridge_dev = slot->bridge;	if (!bridge_dev) {		printk(KERN_ERR "%s: unexpected null bridge device\n",			__FUNCTION__);		return -EIO;	}	/* Remove hotplug slot */	if (rpaphp_remove_slot(slot)) {		printk(KERN_ERR "%s: unable to remove hotplug slot %s\n",			__FUNCTION__, drc_name);		return -EIO;	}	/* Remove pci bus */	if (dlpar_pci_remove_bus(bridge_dev)) {		printk(KERN_ERR "%s: unable to remove pci bus %s\n",			__FUNCTION__, drc_name);		return -EIO;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9c209c919df95f83aa042b3352c43841ad15a02b/rpadlpar_core.c/buggy/drivers/pci/hotplug/rpadlpar_core.c