summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Hesselmann <jonas.hesselmann@hotmail.de>2015-10-25 19:28:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-26 04:04:48 +0900
commitae416ba4e94a30486ba2af0afe052579e7114ab8 (patch)
tree3822e3ddf6fdc183c93bdb4ebe6a43eb79b2bfcb
parentaa5b477db5826e9922c4fe78ccf53fb2df039367 (diff)
USB: core: Codestyle fix in urb.c
Delete braces around single statement block suggested by checkpatch.pl Signed-off-by: Jonas Hesselmann <jonas.hesselmann@hotmail.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/core/urb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c
index c9e8ee81b6b7..3d274778caaf 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);
}