diff options
| author | 2008-02-16 13:44:42 -0800 | |
|---|---|---|
| committer | 2008-04-24 21:16:35 -0700 | |
| commit | c765d4cad977f7e454a53d5bca5a942156b2d94c (patch) | |
| tree | f73f80b89d96d5a05bed5d261ac0437b1b966b84 /scripts/patch-kernel | |
| parent | USB: m66592-udc: reduce size of data structure. (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 <fzu@wemgehoertderstaat.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
