OSDN Git Service

staging: dgnc: fix braces {} are not necessary for single statement blocks
authorSalah Triki <salah.triki@acm.org>
Sun, 1 Mar 2015 22:18:50 +0000 (23:18 +0100)
committerGreg 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

index f81a375..8179342 100644 (file)
@@ -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... */
-               }
        }
 
        /*