This unused variable is introduced during porting sdk patch, remove it to avoid below build error: drivers/tty/serial/serial-tegra.c:742:23: error: unused variable 'ier' [-Werror=unused-variable] 742 | unsigned long ier;
Signed-off-by: Meng Li <[email protected]> --- drivers/tty/serial/serial-tegra.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index af1d5ae0e886..4e469b7e8032 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -739,7 +739,6 @@ static void tegra_uart_rx_dma_complete(void *args) unsigned long flags; struct dma_tx_state state; enum dma_status status; - unsigned long ier; uart_port_lock_irqsave(u, &flags); @@ -789,8 +788,6 @@ static void tegra_uart_terminate_rx_dma(struct tegra_uart_port *tup) static void tegra_uart_handle_rx_dma(struct tegra_uart_port *tup) { - unsigned long ier; - /* Deactivate flow control to stop sender */ if (tup->rts_active) set_rts(tup, false); -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16076): https://lists.yoctoproject.org/g/linux-yocto/message/16076 Mute This Topic: https://lists.yoctoproject.org/mt/116886125/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
