staging: dgnc: Remove 'without comment' warning
PATCH 1/1 staging: dgnc: Remove 'without comment' warning
This patch removes blank lines between comment blocks and waitqueue_active calls to remove the following:
WARNING: waitqueue_active without comment
This was detected by checkpatch.pl
Signed-off-by Rehas Sachdeva <[email protected]>
--- drivers/staging/dgnc/dgnc_tty.c | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +0 -2
@@ -709,7 +709,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); }
@@ -722,7 +721,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); }
Signature · 1 line
2.1.4