transport_unregister_device(&sdev->sdev_gendev); put_device(&sdev->sdev_gendev); 
transport_destroy_device(dev); put_device(dev); 
void __scsi_remove_device(struct scsi_device *sdev){	if (scsi_device_set_state(sdev, SDEV_CANCEL) != 0)		return;	class_device_unregister(&sdev->sdev_classdev);	device_del(&sdev->sdev_gendev);	scsi_device_set_state(sdev, SDEV_DEL);	if (sdev->host->hostt->slave_destroy)		sdev->host->hostt->slave_destroy(sdev);	transport_unregister_device(&sdev->sdev_gendev);	put_device(&sdev->sdev_gendev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/df133c212ef82b9c7e80fca7b1f87dad8a05de3c/scsi_sysfs.c/buggy/drivers/scsi/scsi_sysfs.c