Commit ff7d18d4 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: dgrp: Fix space prohibited before semicolon

This patch fixed "WARNING: space prohibited before semicoloni"
found by checkpatch.pl within dgrp_tty.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8eec4555
...@@ -371,7 +371,7 @@ static void drp_param(struct ch_struct *ch) ...@@ -371,7 +371,7 @@ static void drp_param(struct ch_struct *ch)
ch->ch_flag |= CH_BAUD0; ch->ch_flag |= CH_BAUD0;
} }
} else if (ch->ch_custom_speed) { } else if (ch->ch_custom_speed) {
ch->ch_brate = PORTSERVER_DIVIDEND / ch->ch_custom_speed ; ch->ch_brate = PORTSERVER_DIVIDEND / ch->ch_custom_speed;
if (ch->ch_flag & CH_BAUD0) { if (ch->ch_flag & CH_BAUD0) {
ch->ch_mout |= DM_DTR | DM_RTS; ch->ch_mout |= DM_DTR | DM_RTS;
...@@ -752,7 +752,7 @@ static int dgrp_tty_open(struct tty_struct *tty, struct file *file) ...@@ -752,7 +752,7 @@ static int dgrp_tty_open(struct tty_struct *tty, struct file *file)
if (ch->ch_open_error != 0 && otype == ch->ch_otype) { if (ch->ch_open_error != 0 && otype == ch->ch_otype) {
retval = (ch->ch_open_error <= 2) ? retval = (ch->ch_open_error <= 2) ?
delay_error : -ENXIO ; delay_error : -ENXIO;
goto unlock; goto unlock;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment