diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-03-27 12:54:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:44:40 -0700 |
commit | 846099a61cf549f450178f1fb3e27adcbd9dcfc2 (patch) | |
tree | f6c59fab37b8e81124d6a62f66c3a4405f96db60 /tools/perf/builtin-list.c | |
parent | 37e3ee991091e08d4902e3d2694c723446a89a8d (diff) |
musb_host: refactor musb_save_toggle() (take 2)
Refactor musb_save_toggle() as follows:
- replace 'struct musb_hw_ep *ep' parameter by 'struct
musb_qh *qh' to avoid re-calculating this value
- move usb_settogle() call out of the *if* operator.
This is a net minor shrink of source and object code.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/builtin-list.c')
0 files changed, 0 insertions, 0 deletions