Skip to contentSkip to conversation

staging: dgnc: fix blank line after '{' warnings.

PATCH New Fernando Apesteguia 1 participant 1 message Dec 6, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: dgnc: fix blank line after '{' warnings.

Remove blank lines between open brace and comment.
Remove blank lines after comment in line with the rest of the comments of the file.

---
 drivers/staging/dgnc/dgnc_tty.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +0 -6
index af4bc86..8bca929 100644
@@ -376,9 +376,7 @@ static void dgnc_wmove(struct channel_t *ch, char *buf, uint n)
 	}
 
 	if (n > 0) {
-
 		/* Move rest of data. */
-
 		remain = n;
 		memcpy(ch->ch_wqueue + head, buf, remain);
 		head += remain;
@@ -1022,9 +1020,7 @@ static int dgnc_tty_open(struct tty_struct *tty, struct file *file)
 	/* Initialize if neither terminal or printer is open. */
 
 	if (!((ch->ch_tun.un_flags | ch->ch_pun.un_flags) & UN_ISOPEN)) {
-
 		/* Flush input queues. */
-
 		ch->ch_r_head = 0;
 		ch->ch_r_tail = 0;
 		ch->ch_e_head = 0;
@@ -1623,9 +1619,7 @@ static int dgnc_tty_write(struct tty_struct *tty,
 	}
 
 	if (n > 0) {
-
 		/* Move rest of data. */
-
 		remain = n;
 		memcpy(ch->ch_wqueue + head, buf, remain);
 		head += remain;
Signature · 1 line
2.7.4