summaryrefslogtreecommitdiffstats
path: root/lib/extable.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@vmware.com>2011-03-23 20:47:05 -0700
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-04-13 16:19:48 -0700
commit926008c9386dde09b015753b6681c502177baa30 (patch)
treeac2f5d77acd5cb70ed9fb823123d791a34315823 /lib/extable.c
parent575688e1e5f462c44ddd608ce3ec9f38b64c3c0d (diff)
downloadblackbird-op-linux-926008c9386dde09b015753b6681c502177baa30.tar.gz
blackbird-op-linux-926008c9386dde09b015753b6681c502177baa30.zip
USB: xhci: simplify logic of skipping missed isoc TDs
The logic of the handling Missed Service Error Events was pretty confusing as we were checking the same condition several times. In addition, it caused compiler warning since the compiler could not figure out that event_trb is actually unused in case we are skipping current TD. Fix that by rearranging "skip" condition checks, and factor out skip_isoc_td() so that it is called explicitly. Signed-off-by: Dmitry Torokhov <dtor@vmware.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud