Messages in this thread Patch in this message | | | From | Walt Feasel <> | Subject | [PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment | Date | Sat, 12 Nov 2016 20:46:19 -0500 |
| |
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
| |