serial: 8250_core: fix coding style issue
PATCH v3 1/1 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 <[email protected]>
---
v2:
- Dropped extra blank line after gpios declaration v3:
- Added changelog to commit message
--- drivers/tty/serial/8250/8250_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/8250/8250_core.c +1 -1
@@ -307,7 +307,7 @@ static void univ8250_release_irq(struct uart_8250_port *up)serial_unlink_irq_chain (up); } -const struct uart_ops *univ8250_port_base_ops =NULL ; +const struct uart_ops *univ8250_port_base_ops;struct uart_ops univ8250_port_ops;static const struct uart_8250_ops univ8250_driver_ops = {
Signature · 1 line
2.43.0
Quoted 5 lines · Osama Abdelkader
Fix a coding style issue in
8250_core.c:- Remove redundant NULL initialization of a global pointer
Signed-off-by Osama Abdelkader <[email protected]>
FWIW
Reviewed-by Jiri Slaby <[email protected]>
Signature · 2 lines
js suse labs