serial: drop irq-flags initialisations
authorJohan Hovold <johan@kernel.org>
Wed, 19 May 2021 09:25:41 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 14:24:05 +0000 (16:24 +0200)
commit18ee37e1382a7c4840e753bc8e9ba5fd5dc663f5
treea361047c9b6ecd2081b5e415cb461a17b684d86f
parent1d751b04a49dd7c2c7a07388074d262225f4de74
serial: drop irq-flags initialisations

There's no need to initialise irq-flags variables before saving the
interrupt state.

Drop the redundant initialisations from drivers that got this wrong.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210519092541.10137-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c
drivers/tty/serial/imx.c
drivers/tty/serial/omap-serial.c
drivers/tty/serial/serial_core.c
drivers/tty/serial/st-asc.c
drivers/tty/serial/stm32-usart.c
drivers/tty/serial/xilinx_uartps.c