m68k: serial167 missing return value in cy_put_char()

commit a5b08c6619
    Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Date:   Wed Apr 30 00:54:05 2008 -0700

    serial167: switch to int put_char method

missed one case when adding return values.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Geert Uytterhoeven 2008-05-05 21:15:48 +02:00 committed by Linus Torvalds
parent ab1a852128
commit 63a59fa7a7

View File

@ -1073,7 +1073,7 @@ static int cy_put_char(struct tty_struct *tty, unsigned char ch)
return 0;
if (!info->xmit_buf)
return;
return 0;
local_irq_save(flags);
if (info->xmit_cnt >= PAGE_SIZE - 1) {