scsi_host_set_state(shost, SHOST_DEL); 
spin_lock_irqsave(shost->host_lock, flags); if (scsi_host_set_state(shost, SHOST_DEL)) BUG_ON(scsi_host_set_state(shost, SHOST_DEL_RECOVERY)); spin_unlock_irqrestore(shost->host_lock, flags); 
void scsi_remove_host(struct Scsi_Host *shost){	down(&shost->scan_mutex);	scsi_host_set_state(shost, SHOST_CANCEL);	up(&shost->scan_mutex);	scsi_forget_host(shost);	scsi_proc_host_rm(shost);	scsi_host_set_state(shost, SHOST_DEL);	transport_unregister_device(&shost->shost_gendev);	class_device_unregister(&shost->shost_classdev);	device_del(&shost->shost_gendev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/939647ee308e0ad924e776657704c7bedd498664/hosts.c/buggy/drivers/scsi/hosts.c