Char: mxser, 0 to NULL in pointer

Don't test a pointer against 0. Use NULL instead.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Reviewed-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jiri Slaby 2008-02-07 00:16:43 -08:00 committed by Linus Torvalds
parent d7f549fa14
commit c3667d5c32

View File

@ -2153,7 +2153,7 @@ static void mxser_transmit_chars(struct mxser_port *port)
return;
}
if (port->xmit_buf == 0)
if (port->xmit_buf == NULL)
return;
if ((port->xmit_cnt <= 0) || port->tty->stopped ||