|
@@ -1649,12 +1649,11 @@ lpuart32_set_termios(struct uart_port *port, struct ktermios *termios,
|
|
|
{
|
|
|
struct lpuart_port *sport = container_of(port, struct lpuart_port, port);
|
|
|
unsigned long flags;
|
|
|
- unsigned long ctrl, old_ctrl, bd, modem;
|
|
|
+ unsigned long ctrl, old_ctrl, modem;
|
|
|
unsigned int baud;
|
|
|
unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
|
|
|
|
|
|
ctrl = old_ctrl = lpuart32_read(&sport->port, UARTCTRL);
|
|
|
- bd = lpuart32_read(&sport->port, UARTBAUD);
|
|
|
modem = lpuart32_read(&sport->port, UARTMODIR);
|
|
|
/*
|
|
|
* only support CS8 and CS7, and for CS7 must enable PE.
|