[PATCH] staging: dgnc: fix braces {} are not necessary for single statement blocks
Salah Triki
salah.triki at acm.org
Sun Mar 1 22:18:50 UTC 2015
This patch fixes the following checkpatch.pl warning:
braces {} are not necessary for single statement blocks
Signed-off-by: Salah Triki <salah.triki at acm.org>
---
drivers/staging/dgnc/dgnc_tty.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index f81a375..8179342 100644
--- 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... */
- }
}
/*
--
1.9.1
More information about the devel
mailing list