diff options
author | 2016-05-09 00:15:31 +0200 | |
---|---|---|
committer | 2016-05-09 13:08:46 +0200 | |
commit | 2b4ba254d2c1f7489da435fba0add68e6695fefa (patch) | |
tree | 3c282ac8699c0b48fa487893d8e12a5ea43ef1d6 /tools/perf/scripts/python/sched-migration.py | |
parent | usb: host: xhci-rcar: Avoid long wait in xhci_reset() (diff) | |
download | wireguard-linux-2b4ba254d2c1f7489da435fba0add68e6695fefa.tar.xz wireguard-linux-2b4ba254d2c1f7489da435fba0add68e6695fefa.zip |
USB: FHCI: avoid redundant condition
The right part of the following or expression is only evaluated if
td is nonzero.
!td || (td && td.status == USB_TD_INPROGRESS)
So no need to check td again.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions