/* This routine is called when a particular tty device is closed.  */
static void sclp_vt220_close(struct tty_struct *tty, struct file *filp)
/* This routine is called when a particular tty device is closed.  */
static void sclp_vt220_close(struct tty_struct *tty, struct file *filp)
{
	if (tty->count == 1) {
		sclp_vt220_tty = NULL;
		kfree(tty->driver_data);
		tty->driver_data = NULL;
	}
}