diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2011-03-23 20:47:05 -0700 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-04-13 16:19:48 -0700 |
commit | 926008c9386dde09b015753b6681c502177baa30 (patch) | |
tree | ac2f5d77acd5cb70ed9fb823123d791a34315823 /drivers/uio/uio_cif.c | |
parent | 575688e1e5f462c44ddd608ce3ec9f38b64c3c0d (diff) | |
download | blackbird-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 'drivers/uio/uio_cif.c')
0 files changed, 0 insertions, 0 deletions