aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/mxser_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index 0b25457cda05..d2dcc546cc75 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2153,7 +2153,7 @@ static void mxser_transmit_chars(struct mxser_port *port)
2153 return; 2153 return;
2154 } 2154 }
2155 2155
2156 if (port->xmit_buf == 0) 2156 if (port->xmit_buf == NULL)
2157 return; 2157 return;
2158 2158
2159 if ((port->xmit_cnt <= 0) || port->tty->stopped || 2159 if ((port->xmit_cnt <= 0) || port->tty->stopped ||