Skip to contentSkip to conversation

staging: dgnc: Fix indentation warning

PATCH New Cristina Moraru 1 participant 1 message Oct 1, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: dgnc: Fix indentation warning

Fixed 'suspect code indent for conditional statements (8, 24)' Warning

---
 drivers/staging/dgnc/dgnc_cls.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/dgnc/dgnc_cls.c +6 -6
index a629a78..76fe4b2 100644
@@ -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;
 
Signature · 1 line
1.9.1