[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1479001579-18428-1-git-send-email-waltfeasel@gmail.com>
Date: Sat, 12 Nov 2016 20:46:19 -0500
From: Walt Feasel <waltfeasel@...il.com>
To: markh@...pro.net
Cc: lidza.louina@...il.com, gregkh@...uxfoundation.org,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Walt Feasel <waltfeasel@...il.com>
Subject: [PATCH] [STYLE 4/4]staging:dgnc:dgnc_tty.c waitqueue_active comment
Made suggested modifications from checkpatch in reference
to WARNING: waitqueue_active without comment
Signed-off-by: Walt Feasel <waltfeasel@...il.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
Powered by blists - more mailing lists