mirror of https://gitee.com/openkylin/linux.git
staging: dgnc: dgnc_tty: Remove blank lines
Fixes checkpatch warning: waitqueue_active without comment Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9310e56703
commit
0575b18118
|
@ -599,7 +599,6 @@ void dgnc_carrier(struct channel_t *ch)
|
||||||
* When carrier rises, wake any threads waiting
|
* When carrier rises, wake any threads waiting
|
||||||
* for carrier in the open routine.
|
* for carrier in the open routine.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (waitqueue_active(&ch->ch_flags_wait))
|
if (waitqueue_active(&ch->ch_flags_wait))
|
||||||
wake_up_interruptible(&ch->ch_flags_wait);
|
wake_up_interruptible(&ch->ch_flags_wait);
|
||||||
}
|
}
|
||||||
|
@ -611,7 +610,6 @@ void dgnc_carrier(struct channel_t *ch)
|
||||||
* When carrier rises, wake any threads waiting
|
* When carrier rises, wake any threads waiting
|
||||||
* for carrier in the open routine.
|
* for carrier in the open routine.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (waitqueue_active(&ch->ch_flags_wait))
|
if (waitqueue_active(&ch->ch_flags_wait))
|
||||||
wake_up_interruptible(&ch->ch_flags_wait);
|
wake_up_interruptible(&ch->ch_flags_wait);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue