From 0575b181180de65a352e7c53fa3bc9bdf9eb2c73 Mon Sep 17 00:00:00 2001 From: Vijai Kumar K Date: Sun, 20 Nov 2016 10:39:23 -0800 Subject: [PATCH] staging: dgnc: dgnc_tty: Remove blank lines Fixes checkpatch warning: waitqueue_active without comment Signed-off-by: Vijai Kumar K Signed-off-by: Greg Kroah-Hartman --- 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 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); } -- 2.20.1