Skip to content
Snippets Groups Projects
Commit ae416ba4 authored by Jonas Hesselmann's avatar Jonas Hesselmann Committed by Greg Kroah-Hartman
Browse files

USB: core: Codestyle fix in urb.c


Delete braces around single statement block suggested by checkpatch.pl

Signed-off-by: default avatarJonas Hesselmann <jonas.hesselmann@hotmail.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa5b477d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment