/* Flush all characters from the ttys characeter buffer put there by tty3270_put_char.  */
static void tty3270_flush_chars(struct tty_struct *tty)
/* Flush all characters from the ttys characeter buffer put there by tty3270_put_char.  */
static void tty3270_flush_chars(struct tty_struct *tty)
{
	struct tty3270 *tp;
	tp = tty->driver_data;
	if (!tp)
		return;
	if (tp->char_count > 0) {
		tty3270_do_write(tp, tp->char_buf, tp->char_count);
		tp->char_count = 0;
	}
}