diff options
author | Iulia Manda <iulia.manda21@gmail.com> | 2014-03-14 00:17:03 +0100 |
---|---|---|
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-14 00:17:59 +0100 |
commit | 0469c7471e29d4089ed7f09aef88c47a8e8c7f49 (patch) | |
tree | 44d8e5f8175300cea16c51107c763d06142dcfcc /drivers | |
parent | staging:cxt1e1:remove unused code with #if 0 (diff) | |
download | linux-0469c7471e29d4089ed7f09aef88c47a8e8c7f49.tar.xz linux-0469c7471e29d4089ed7f09aef88c47a8e8c7f49.zip |
Staging: dgnc: fix indentation in dgnc_mgmt.c
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/dgnc/dgnc_mgmt.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c index 65f2d22e72c6..c5b425bf6692 100644 --- a/drivers/staging/dgnc/dgnc_mgmt.c +++ b/drivers/staging/dgnc/dgnc_mgmt.c @@ -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; |