diff options
author | Marek Vasut <marex@denx.de> | 2023-02-23 05:22:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-09 17:16:11 +0100 |
commit | b4fd0afaa07f9f46c733e7cf17e4b4cb45461c3c (patch) | |
tree | 52ef11acf76e893d66be303b182d4ca9fccf4672 /drivers/tty/serial/stm32-usart.c | |
parent | 6d12b774c9295a04695d52e38b1517e9a41f9881 (diff) | |
download | linux-b4fd0afaa07f9f46c733e7cf17e4b4cb45461c3c.tar.gz linux-b4fd0afaa07f9f46c733e7cf17e4b4cb45461c3c.tar.bz2 linux-b4fd0afaa07f9f46c733e7cf17e4b4cb45461c3c.zip |
serial: stm32: Remove unused struct stm32_port txdone element
The txdone element is only ever assigned, once, and never used. Drop it.
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230223042252.95480-1-marex@denx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/stm32-usart.c')
-rw-r--r-- | drivers/tty/serial/stm32-usart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index 767ff9fdb2e5..bf51e2152dd5 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -743,7 +743,6 @@ static void stm32_usart_transmit_chars(struct uart_port *port) stm32_usart_tx_interrupt_disable(port); if (!stm32_port->hw_flow_control && port->rs485.flags & SER_RS485_ENABLED) { - stm32_port->txdone = true; stm32_usart_tc_interrupt_enable(port); } } |