mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Fernando Apesteguia <fernando.apesteguia@gmail.com>
To: lidza.louina@gmail.com
Cc: markh@compro.net, gregkh@linuxfoundation.org,
	driverdev-devel@linuxdriverproject.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Fernando Apesteguia <fernando.apesteguia@gmail.com>
Subject: [PATCH] staging: dgnc: fix blank line after '{' warnings.
Date: Tue,  6 Dec 2016 19:07:32 +0100	[thread overview]
Message-ID: <1481047652-19142-1-git-send-email-fernando.apesteguia@gmail.com> (raw)

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

Signed-off-by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
---
 drivers/staging/dgnc/dgnc_tty.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index af4bc86..8bca929 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -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;
-- 
2.7.4

                 reply	other threads:[~2016-12-06 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1481047652-19142-1-git-send-email-fernando.apesteguia@gmail.com \
    --to=fernando.apesteguia@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=lidza.louina@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markh@compro.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®