All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gokce Kuler <gokcekuler@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: gregkh@linuxfoundation.org
Subject: [PATCH] staging: hp100: braces {} are not necessary for single statement blocks
Date: Sun, 22 Mar 2020 04:26:24 +0300	[thread overview]
Message-ID: <20200322012624.GA5040@siyah2> (raw)

Remove unnecessary braces for single statement block

Signed-off-by: Gokce Kuler <gokcekuler@gmail.com>
---
 drivers/staging/hp/hp100.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c
index 8aadb5b..1b957aa 100644
--- a/drivers/staging/hp/hp100.c
+++ b/drivers/staging/hp/hp100.c
@@ -1332,9 +1332,9 @@ static void hp100_rxfill(struct net_device *dev)
 		   ** Attempt to get a buffer and build a Rx PDL.
 		 */
 		ringptr = lp->rxrtail;
-		if (0 == hp100_build_rx_pdl(ringptr, dev)) {
+		if (0 == hp100_build_rx_pdl(ringptr, dev)) 
 			return;	/* None available, return */
-		}
+		
 
 		/* Hand this PDL over to the card */
 		/* Note: This needs performance page selected! */
-- 
2.7.4



             reply	other threads:[~2020-03-22  1:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22  1:26 Gokce Kuler [this message]
2020-03-22  9:16 ` [Outreachy kernel] [PATCH] staging: hp100: braces {} are not necessary for single statement blocks Julia Lawall

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=20200322012624.GA5040@siyah2 \
    --to=gokcekuler@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.