mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ragnar B. Johannsson" <ragnar@igo.is>
To: forest@alittletooquiet.net, gregkh@linuxfoundation.org,
	tvboxspy@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	"Ragnar B. Johannsson" <ragnar@igo.is>
Subject: [PATCH 1/3] staging: vt6656: remove unnecessary braces
Date: Sun, 10 Aug 2014 22:23:48 +0000	[thread overview]
Message-ID: <1407709430-61260-2-git-send-email-ragnar@igo.is> (raw)
In-Reply-To: <1407709430-61260-1-git-send-email-ragnar@igo.is>

Removes unnecessary braces to comply with coding style.

Signed-off-by: Ragnar B. Johannsson <ragnar@igo.is>
---
 drivers/staging/vt6656/usbpipe.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index cba6532..88bf518 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/drivers/staging/vt6656/usbpipe.c
@@ -131,11 +131,10 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb)
 	}
 
 	status = usb_submit_urb(priv->interrupt_urb, GFP_ATOMIC);
-	if (status) {
+	if (status)
 		dev_dbg(&priv->usb->dev, "Submit int URB failed %d\n", status);
-	} else {
+	else
 		priv->int_buf.in_use = true;
-	}
 }
 
 int vnt_start_interrupt_urb(struct vnt_private *priv)
-- 
1.9.3


  reply	other threads:[~2014-08-13  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-10 22:23 [PATCH 0/3] staging: vt6656: cleanup Ragnar B. Johannsson
2014-08-10 22:23 ` Ragnar B. Johannsson [this message]
2014-08-10 22:23 ` [PATCH 2/3] staging: vt6656: fix incorrect indentation Ragnar B. Johannsson
2014-08-10 22:23 ` [PATCH 3/3] staging: vt6656: add blank line after declaration Ragnar B. Johannsson

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=1407709430-61260-2-git-send-email-ragnar@igo.is \
    --to=ragnar@igo.is \
    --cc=devel@driverdev.osuosl.org \
    --cc=forest@alittletooquiet.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tvboxspy@gmail.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 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®