|
@@ -1516,7 +1516,6 @@ static inline void __stop_tx(struct uart_8250_port *p)
|
|
|
return;
|
|
|
|
|
|
em485->active_timer = NULL;
|
|
|
- hrtimer_cancel(&em485->start_tx_timer);
|
|
|
|
|
|
__stop_tx_rs485(p);
|
|
|
}
|
|
@@ -1580,8 +1579,6 @@ static inline void start_tx_rs485(struct uart_port *port)
|
|
|
serial8250_stop_rx(&up->port);
|
|
|
|
|
|
em485->active_timer = NULL;
|
|
|
- if (hrtimer_is_queued(&em485->stop_tx_timer))
|
|
|
- hrtimer_cancel(&em485->stop_tx_timer);
|
|
|
|
|
|
mcr = serial8250_in_MCR(up);
|
|
|
if (!!(up->port.rs485.flags & SER_RS485_RTS_ON_SEND) !=
|