Skip to contentSkip to conversation

staging: dgnc: Remove 'without comment' warning

PATCH New Rehas Sachdeva 1 participant 1 message Feb 25, 2016 Staging

lore
Share & tools
lore
#0 lore raw

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

---
 drivers/staging/dgnc/dgnc_tty.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +0 -2
index b79eab0..aacc1b3 100644
@@ -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