diff options
author | Masaru Nomura <massa.nomura@gmail.com> | 2014-05-17 01:17:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-24 02:12:40 +0900 |
commit | a82477c3dcacb20c00481fa59cf850e0012d6533 (patch) | |
tree | 524c09077dbf5b187a06f6fe04aae855e7283d71 /drivers/staging/dgnc | |
parent | 9267462e6ca233ba3227c046f704018b38e944ca (diff) | |
download | blackbird-obmc-linux-a82477c3dcacb20c00481fa59cf850e0012d6533.tar.gz blackbird-obmc-linux-a82477c3dcacb20c00481fa59cf850e0012d6533.zip |
staging: dgnc: dgnc_tty: Add a required space
Add a required space before an open parenthesis of if statement
to meet kernel coding style.
Signed-off-by: Masaru Nomura <massa.nomura@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index e3001b52146c..516405866d1f 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -660,7 +660,7 @@ void dgnc_input(struct channel_t *ch) tp = ch->ch_tun.un_tty; bd = ch->ch_bd; - if(!bd || bd->magic != DGNC_BOARD_MAGIC) + if (!bd || bd->magic != DGNC_BOARD_MAGIC) return; DGNC_LOCK(ch->ch_lock, lock_flags); @@ -1038,7 +1038,7 @@ void dgnc_check_queue_flow_control(struct channel_t *ch) if (qleft < 256) { /* HWFLOW */ if (ch->ch_digi.digi_flags & CTSPACE || ch->ch_c_cflag & CRTSCTS) { - if(!(ch->ch_flags & CH_RECEIVER_OFF)) { + if (!(ch->ch_flags & CH_RECEIVER_OFF)) { ch->ch_bd->bd_ops->disable_receiver(ch); ch->ch_flags |= (CH_RECEIVER_OFF); DPR_READ(("Internal queue hit hilevel mark (%d)! Turning off interrupts.\n", @@ -3025,7 +3025,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, DGNC_LOCK(ch->ch_lock, lock_flags); - if(((cmd == TCSBRK) && (!arg)) || (cmd == TCSBRKP)) { + if (((cmd == TCSBRK) && (!arg)) || (cmd == TCSBRKP)) { ch->ch_bd->bd_ops->send_break(ch, 250); } |