diff options
author | Tudor Ambarus <[email protected]> | 2024-01-19 10:45:16 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 19:05:19 -0800 |
commit | b1617c7888476e69e5b03b89eedef2bd2c60901e (patch) | |
tree | eaa2a57a2d5badd855d1bd65d1beb23b6f8f5591 | |
parent | 032a725c16add79332d774348d7ad7d0d4b86479 (diff) |
tty: serial: samsung: remove braces on single statement block
Braces {} are not necessary for single statement blocks.
Remove braces on single statement block.
Reviewed-by: Sam Protsenko <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/tty/serial/samsung_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 8b396c950933..303b67498c65 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2061,9 +2061,8 @@ static void s3c24xx_serial_remove(struct platform_device *dev) { struct uart_port *port = s3c24xx_dev_to_port(&dev->dev); - if (port) { + if (port) uart_remove_one_port(&s3c24xx_uart_drv, port); - } uart_unregister_driver(&s3c24xx_uart_drv); } |