projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87643ab
)
staging: dgnc: fix braces {} are not necessary for single statement blocks
author
Salah Triki
<salah.triki@acm.org>
Sun, 1 Mar 2015 22:18:50 +0000
(23:18 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:12:22 +0000
(16:12 -0800)
This patch fixes the following checkpatch.pl warning:
braces {} are not necessary for single statement blocks
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c
patch
|
blob
|
history
diff --git
a/drivers/staging/dgnc/dgnc_tty.c
b/drivers/staging/dgnc/dgnc_tty.c
index f81a375f8bc17e87cf23d6ffe793bb782edb019c..8179342695200a2c8d34ef88e59c258d205bbeb2 100644
(file)
--- a/
drivers/staging/dgnc/dgnc_tty.c
+++ b/
drivers/staging/dgnc/dgnc_tty.c
@@
-886,10
+886,6
@@
void dgnc_check_queue_flow_control(struct channel_t *ch)
ch->ch_stops_sent++;
}
}
- /* No FLOW */
- else {
- /* Empty... Can't do anything about the impending overflow... */
- }
}
/*