USB: EHCI: code rearrangement in iso_stream_schedule()
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 3 Sep 2013 17:58:59 +0000 (13:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 16:49:24 +0000 (09:49 -0700)
commite4e18cbd52c8efb0d73a66d0598dc887c0feefb7
treecfccd558a8a8ec613d43bdd3b0d691449a458ea5
parentc7ccde6eac6d3c4bc6110cc3fd76ef3823bc0831
USB: EHCI: code rearrangement in iso_stream_schedule()

This patch interchanges the "if" and "else" branches of the big "if"
statement in iso_stream_schedule(), in preparation for the next patch
in this series.  That is, it changes

if (likely(!...)) {
A
} else {
B
}

to

if (unlikely(...)) {
B
} else {
A
}

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sched.c