/* Report how many bytes the ldisc can send into the queue for the other device.  */
static int pty_write_room(struct tty_struct *tty)
/* Report how many bytes the ldisc can send into the queue for the other device.  */
static int pty_write_room(struct tty_struct *tty)
{
	if (tty->stopped)
		return 0;
	return pty_space(tty->link);
}