Staging: dgnc: dgnc_neo.c Braces {} should be used on all arms of this statement
authorNizam Haider <nizamhaider786@gmail.com>
Sat, 14 Nov 2015 14:40:45 +0000 (20:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:50:59 +0000 (15:50 -0800)
Fix Checlpatch warning
HECK: braces {} should be used on all arms of this statement

Signed-off-by: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_neo.c

index 15c255d184dce3502bdd81dc4fa0c686b52f12ac..39c76e78e56aa6def760fd0e602b0e0afdbf0ac0 100644 (file)
@@ -1108,9 +1108,9 @@ static void neo_copy_data_from_uart_to_queue(struct channel_t *ch)
         * On the other hand, if the UART IS in FIFO mode, then ask
         * the UART to give us an approximation of data it has RX'ed.
         */
-       if (!(ch->ch_flags & CH_FIFO_ENABLED))
+       if (!(ch->ch_flags & CH_FIFO_ENABLED)) {
                total = 0;
-       else {
+       else {
                total = readb(&ch->ch_neo_uart->rfifo);
 
                /*