Staging: dgnc: fix indentation in dgnc_mgmt.c
authorIulia Manda <iulia.manda21@gmail.com>
Thu, 13 Mar 2014 23:17:03 +0000 (16:17 -0700)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Thu, 13 Mar 2014 23:17:59 +0000 (16:17 -0700)
Align test parts in if statement on separate lines.

Signed-off-by: Iulia Manda <iulia.manda21@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/dgnc/dgnc_mgmt.c

index 65f2d22e72c6ea947ceb236edd0aca9ab43e1993..c5b425bf6692a47160836c8e6bf1aca0b41b42b3 100644 (file)
@@ -168,7 +168,8 @@ long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 
                DPR_MGMT(("DIGI_GETBD asking about board: %d\n", brd));
 
-               if ((brd < 0) || (brd > dgnc_NumBoards) || (dgnc_NumBoards == 0))
+               if ((brd < 0) || (brd > dgnc_NumBoards) ||
+                   (dgnc_NumBoards == 0))
                        return -ENODEV;
 
                memset(&di, 0, sizeof(di));
@@ -264,12 +265,14 @@ long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                ni.cflag = ch->ch_c_cflag;
                ni.lflag = ch->ch_c_lflag;
 
-               if (ch->ch_digi.digi_flags & CTSPACE || ch->ch_c_cflag & CRTSCTS)
+               if (ch->ch_digi.digi_flags & CTSPACE ||
+                   ch->ch_c_cflag & CRTSCTS)
                        ni.hflow = 1;
                else
                        ni.hflow = 0;
 
-               if ((ch->ch_flags & CH_STOPI) || (ch->ch_flags & CH_FORCED_STOPI))
+               if ((ch->ch_flags & CH_STOPI) ||
+                   (ch->ch_flags & CH_FORCED_STOPI))
                        ni.recv_stopped = 1;
                else
                        ni.recv_stopped = 0;