From: Iulia Manda Date: Thu, 13 Mar 2014 23:17:03 +0000 (-0700) Subject: Staging: dgnc: fix indentation in dgnc_mgmt.c X-Git-Tag: v3.15-rc1~139^2~433 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0469c7471e29d4089ed7f09aef88c47a8e8c7f49;p=karo-tx-linux.git Staging: dgnc: fix indentation in dgnc_mgmt.c Align test parts in if statement on separate lines. Signed-off-by: Iulia Manda Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- 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;