mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
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>
This commit is contained in:
parent
aa5b477db5
commit
ae416ba4e9
1 changed files with 1 additions and 2 deletions
|
@ -129,9 +129,8 @@ void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor)
|
||||||
list_add_tail(&urb->anchor_list, &anchor->urb_list);
|
list_add_tail(&urb->anchor_list, &anchor->urb_list);
|
||||||
urb->anchor = anchor;
|
urb->anchor = anchor;
|
||||||
|
|
||||||
if (unlikely(anchor->poisoned)) {
|
if (unlikely(anchor->poisoned))
|
||||||
atomic_inc(&urb->reject);
|
atomic_inc(&urb->reject);
|
||||||
}
|
|
||||||
|
|
||||||
spin_unlock_irqrestore(&anchor->lock, flags);
|
spin_unlock_irqrestore(&anchor->lock, flags);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue