staging: dgnc: Fix indentation warning
authorCristina Moraru <cristina.moraru09@gmail.com>
Thu, 1 Oct 2015 18:43:57 +0000 (21:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:36:00 +0000 (11:36 +0200)
Fixed 'suspect code indent for conditional statements (8, 24)' Warning

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_cls.c

index a629a78964ce0d2f4c4afa59f39fb7403582c547..76fe4b2935b56625e20b162d08f1845791af2676 100644 (file)
@@ -628,13 +628,13 @@ static void cls_param(struct tty_struct *tty)
         * we are in hardware flow control mode, or CLOCAL/FORCEDCD is not set.
         */
        if ((ch->ch_digi.digi_flags & CTSPACE) ||
-               (ch->ch_digi.digi_flags & RTSPACE) ||
-               (ch->ch_c_cflag & CRTSCTS) ||
-               !(ch->ch_digi.digi_flags & DIGI_FORCEDCD) ||
-               !(ch->ch_c_cflag & CLOCAL))
-                       ier |= UART_IER_MSI;
+           (ch->ch_digi.digi_flags & RTSPACE) ||
+           (ch->ch_c_cflag & CRTSCTS) ||
+           !(ch->ch_digi.digi_flags & DIGI_FORCEDCD) ||
+           !(ch->ch_c_cflag & CLOCAL))
+               ier |= UART_IER_MSI;
        else
-                       ier &= ~UART_IER_MSI;
+               ier &= ~UART_IER_MSI;
 
        ier |= UART_IER_THRI;