* [PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment
@ 2016-11-13 1:46 Walt Feasel
0 siblings, 0 replies; only message in thread
From: Walt Feasel @ 2016-11-13 1:46 UTC (permalink / raw)
To: markh
Cc: lidza.louina, gregkh, driverdev-devel, devel, linux-kernel,
Walt Feasel
Made suggested modifications from checkpatch in reference
to WARNING: waitqueue_active without comment
Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-13 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-13 1:46 [PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment Walt Feasel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).