Skip to contentSkip to conversation

dgnc: Cleanup of unnecessary braces

PATCH In review Robert Callicotte 2 participants 2 messages Apr 25, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dgnc: Cleanup of unnecessary braces

Removed curly braces and trailing whitespace from else clause.

---
 drivers/staging/dgnc/dgnc_tty.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +1 -2
index ce4187f..2418150 100644
@@ -898,9 +898,8 @@ void dgnc_check_queue_flow_control(struct channel_t *ch)
 			ch->ch_bd->bd_ops->send_start_character(ch);
 		}
 		/* No FLOW */
-		else {
+		else
 			/* Nothing needed. */
-		}
 	}
 }
 
Signature · 1 line
2.2.2
#1 lore raw
Quoted 1 line · Robert Callicotte

Removed curly braces and trailing whitespace from else clause.

Do please compile the files modified by your patches _before_ sending them.

Quoted 20 lines
---
 drivers/staging/dgnc/dgnc_tty.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +1 -2
index ce4187f..2418150 100644
@@ -898,9 +898,8 @@ void dgnc_check_queue_flow_control(struct channel_t *ch)
 			ch->ch_bd->bd_ops->send_start_character(ch);
 		}
 		/* No FLOW */
-		else {
+		else
 			/* Nothing needed. */
-		}
 	}
 }