From dc4aaf6dd1d30f0c77bbca468827a4f54ec1a238 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Tue, 11 Aug 2015 02:30:54 +0000 Subject: [PATCH] Style fix, no functional changes -- do the braces for switches correctly. --- sys/dev/uart/uart_core.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 8a0d4011391f..20b617b92e2d 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -78,8 +78,7 @@ static inline int uart_pps_signal(int pps_mode) { - switch(pps_mode) - { + switch(pps_mode) { case PPS_MODE_CTS: return (SER_CTS); case PPS_MODE_DCD: @@ -91,8 +90,7 @@ static inline int uart_pps_mode_valid(int pps_mode) { - switch(pps_mode) - { + switch(pps_mode) { case PPS_MODE_DISABLED: case PPS_MODE_CTS: case PPS_MODE_DCD: @@ -104,8 +102,7 @@ uart_pps_mode_valid(int pps_mode) static const char * uart_pps_mode_name(int pps_mode) { - switch(pps_mode) - { + switch(pps_mode) { case PPS_MODE_DISABLED: return ("disabled"); case PPS_MODE_CTS: