staging: dgap: fix suspect code indent for conditional statements checkpatch warning

This patch fixes a checkpatch warning for
suspect code indent for conditional statements

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mark Hounschell 2014-03-04 16:03:11 -05:00 committed by Greg Kroah-Hartman
parent c4875ebf2e
commit af5b80bef9
1 changed files with 9 additions and 7 deletions

View File

@ -5475,12 +5475,14 @@ static int dgap_param(struct tty_struct *tty)
if ((ch->ch_digi.digi_flags & DIGI_FAST) || (ch->ch_c_cflag & CBAUDEX)) if ((ch->ch_digi.digi_flags & DIGI_FAST) || (ch->ch_c_cflag & CBAUDEX))
cflag |= HUPCL; cflag |= HUPCL;
if ((ch->ch_c_cflag & CBAUDEX) && !(ch->ch_digi.digi_flags & DIGI_FAST)) { if ((ch->ch_c_cflag & CBAUDEX) &&
!(ch->ch_digi.digi_flags & DIGI_FAST)) {
/* /*
* The below code is trying to guarantee that only baud rates * The below code is trying to guarantee that only
* 115200, 230400, 460800, 921600 are remapped. We use exclusive or * baud rates 115200, 230400, 460800, 921600 are
* because the various baud rates share common bit positions * remapped. We use exclusive or because the various
* and therefore can't be tested for easily. * baud rates share common bit positions and therefore
* can't be tested for easily.
*/ */
tcflag_t tcflag = (ch->ch_c_cflag & CBAUD) | CBAUDEX; tcflag_t tcflag = (ch->ch_c_cflag & CBAUD) | CBAUDEX;
int baudpart = 0; int baudpart = 0;