if (rp->clttydev) class_device_destroy(class3270, MKDEV(IBM_TTY3270_MAJOR, rp->minor)); if (rp->cltubdev) class_device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, rp->minor)); 
raw3270_delete_device(struct raw3270 *rp){	struct ccw_device *cdev;	/* Remove from device chain. */	down(&raw3270_sem);	list_del_init(&rp->list);	up(&raw3270_sem);	/* Disconnect from ccw_device. */	cdev = rp->cdev;	rp->cdev = 0;	cdev->dev.driver_data = 0;	cdev->handler = 0;	/* Put ccw_device structure. */	put_device(&cdev->dev);	/* Now free raw3270 structure. */	kfree(rp->ascebc);	kfree(rp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ed3cb6f039bb296457bfd2877cba6ad0287d8d54/raw3270.c/clean/drivers/s390/char/raw3270.c