aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKarsten Wiese <[email protected]>2008-02-16 13:44:42 -0800
committerGreg Kroah-Hartman <[email protected]>2008-04-24 21:16:35 -0700
commitc765d4cad977f7e454a53d5bca5a942156b2d94c (patch)
treef73f80b89d96d5a05bed5d261ac0437b1b966b84 /tools/perf/scripts/python
parent96f9bc373c83a67922dc32f358e8a3b3dd4e18a0 (diff)
USB: EHCI: Refactor "if (handshake()) state = HC_STATE_HALT"
Refactor the EHCI "if (handshake()) state = HC_STATE_HALT" idiom, which appears 4 times, by replacing it with calls to a new function called handshake_on_error_set_halt(). Saves a few bytes too. Signed-off-by: Karsten Wiese <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions