projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5b477
)
USB: core: Codestyle fix in urb.c
author
Jonas Hesselmann
<
[email protected]
>
Sun, 25 Oct 2015 18:28:58 +0000
(19:28 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sun, 25 Oct 2015 19:04:48 +0000
(
04:04
+0900)
Delete braces around single statement block suggested by checkpatch.pl
Signed-off-by: Jonas Hesselmann <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/core/urb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/urb.c
b/drivers/usb/core/urb.c
index c9e8ee81b6b747f72fe91085e8e9621f4ad1b0c3..3d274778caaf8f9f473aacc89b1be6c20de19ab2 100644
(file)
--- 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);
}