/* ldisc_receive_buf - pass receive data to line discipline  */
static void ldisc_receive_buf(struct tty_struct *tty, const __u8 *data, char *flags, int count)
/* ldisc_receive_buf - pass receive data to line discipline  */
static void ldisc_receive_buf(struct tty_struct *tty, const __u8 *data, char *flags, int count)
{
	struct tty_ldisc *ld;
	if (!tty)
		return;
	ld = tty_ldisc_ref(tty);
	if (ld) {
		if (ld->ops->receive_buf)
			ld->ops->receive_buf(tty, data, flags, count);
		tty_ldisc_deref(ld);
	}
}