summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijai Kumar K <vijaikumar.kanagarajan@gmail.com>2016-11-20 10:39:23 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-21 11:10:56 +0100
commit0575b181180de65a352e7c53fa3bc9bdf9eb2c73 (patch)
treefec6b78e93bf4893536bd4a87fe92b4eb7933fc1
parent9310e56703c327ff58a9a7cdce5ba6013c0a7c1f (diff)
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>
-rw-r--r--drivers/staging/dgnc/dgnc_tty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 6f3b0f68e4f4..c181c26f0c1b 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -599,7 +599,6 @@ void dgnc_carrier(struct channel_t *ch)
* When carrier rises, wake any threads waiting
* for carrier in the open routine.
*/
-
if (waitqueue_active(&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
* for carrier in the open routine.
*/
-
if (waitqueue_active(&ch->ch_flags_wait))
wake_up_interruptible(&ch->ch_flags_wait);
}