Skip to content

Commit 18656ee

Browse files
osamakadergregkh
authored andcommitted
serial: 8250_core: fix coding style issue
Fix a coding style issue in 8250_core.c: - Remove redundant NULL initialization of a global pointer Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250822095614.18108-1-osama.abdelkader@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 706c3c0 commit 18656ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/serial/8250/8250_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static void univ8250_release_irq(struct uart_8250_port *up)
302302
serial_unlink_irq_chain(up);
303303
}
304304

305-
const struct uart_ops *univ8250_port_base_ops = NULL;
305+
const struct uart_ops *univ8250_port_base_ops;
306306
struct uart_ops univ8250_port_ops;
307307

308308
static const struct uart_8250_ops univ8250_driver_ops = {

0 commit comments

Comments
 (0)