Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
}