Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1255522 > unrolled thread

[PATCH] USB: core: Codestyle fix in urb.c

Started byJonas Hesselmann <jonas.hesselmann@hotmail.de>
First post2015-10-25 19:40 +0100
Last post2015-10-25 19:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] USB: core: Codestyle fix in urb.c Jonas Hesselmann <jonas.hesselmann@hotmail.de> - 2015-10-25 19:40 +0100

#1255522 — [PATCH] USB: core: Codestyle fix in urb.c

FromJonas Hesselmann <jonas.hesselmann@hotmail.de>
Date2015-10-25 19:40 +0100
Subject[PATCH] USB: core: Codestyle fix in urb.c
Message-ID<qnymZ-6pN-5@gated-at.bofh.it>
Delete braces around single statement block suggested by checkpatch.pl

Signed-off-by: Jonas Hesselmann <jonas.hesselmann@hotmail.de>
---
 drivers/usb/core/urb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c
index c9e8ee8..3d27477 100644
--- a/drivers/usb/core/urb.c
+++ b/drivers/usb/core/urb.c
@@ -129,9 +129,8 @@ void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor)
 	list_add_tail(&urb->anchor_list, &anchor->urb_list);
 	urb->anchor = anchor;
 
-	if (unlikely(anchor->poisoned)) {
+	if (unlikely(anchor->poisoned))
 		atomic_inc(&urb->reject);
-	}
 
 	spin_unlock_irqrestore(&anchor->lock, flags);
 }

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web