[PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment

From: Walt Feasel
Date: Sat Nov 12 2016 - 20:47:04 EST


Made suggested modifications from checkpatch in reference
to WARNING: waitqueue_active without comment

Signed-off-by: Walt Feasel <waltfeasel@xxxxxxxxx>
---
drivers/staging/dgnc/dgnc_tty.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 72f4782..9c977cc 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -608,7 +608,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);
}
@@ -620,7 +619,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);
}
--
2.1.4