Style fix, no functional changes -- do the braces for switches correctly.

This commit is contained in:
Ian Lepore 2015-08-11 02:30:54 +00:00
parent 006bf8a619
commit dc4aaf6dd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286613

View File

@ -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: