diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index b34d903d596a13d370848bc99efd2eda2acabadf..28c238141264800cee7f4c70bf4fba53018e23aa 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -2731,16 +2731,6 @@ static int dgap_tty_write(struct tty_struct *tty, const unsigned char *buf, ch->ch_flags &= ~CH_PRON; } - /* - * If there is nothing left to copy, or - * I can't handle any more data, leave. - */ - if (count <= 0) { - dgap_set_firmware_event(un, UN_LOW | UN_EMPTY); - spin_unlock_irqrestore(&ch->ch_lock, lock_flags); - return 0; - } - n = count; /*