dgnc: Cleanup of unnecessary braces
PATCH 1/1 dgnc: Cleanup of unnecessary braces
Removed curly braces and trailing whitespace from else clause.
Signed-off-by Robert Callicotte <[email protected]>
--- drivers/staging/dgnc/dgnc_tty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +1 -2
@@ -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
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
Signed-off-by Robert Callicotte <[email protected]>--- drivers/staging/dgnc/dgnc_tty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/dgnc/dgnc_tty.c +1
-2@@ -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. */ - } } }