svn commit: r286613 - head/sys/dev/uart
Ian Lepore
ian at FreeBSD.org
Tue Aug 11 02:30:55 UTC 2015
Author: ian
Date: Tue Aug 11 02:30:54 2015
New Revision: 286613
URL: https://svnweb.freebsd.org/changeset/base/286613
Log:
Style fix, no functional changes -- do the braces for switches correctly.
Modified:
head/sys/dev/uart/uart_core.c
Modified: head/sys/dev/uart/uart_core.c
==============================================================================
--- head/sys/dev/uart/uart_core.c Tue Aug 11 01:51:38 2015 (r286612)
+++ head/sys/dev/uart/uart_core.c Tue Aug 11 02:30:54 2015 (r286613)
@@ -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:
More information about the svn-src-all
mailing list