aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Hesselmann <jonas.hesselmann@hotmail.de>2015-10-25 14:28:58 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 15:04:48 -0400
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)
129 list_add_tail(&urb->anchor_list, &anchor->urb_list); 129 list_add_tail(&urb->anchor_list, &anchor->urb_list);
130 urb->anchor = anchor; 130 urb->anchor = anchor;
131 131
132 if (unlikely(anchor->poisoned)) { 132 if (unlikely(anchor->poisoned))
133 atomic_inc(&urb->reject); 133 atomic_inc(&urb->reject);
134 }
135 134
136 spin_unlock_irqrestore(&anchor->lock, flags); 135 spin_unlock_irqrestore(&anchor->lock, flags);
137} 136}