diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-03-27 20:54:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 06:44:40 +0200 |
commit | 846099a61cf549f450178f1fb3e27adcbd9dcfc2 (patch) | |
tree | f6c59fab37b8e81124d6a62f66c3a4405f96db60 /scripts/Makefile.modpost | |
parent | musb_gadget: suppress "parasitic" TX interrupts with CPPI (diff) | |
download | linux-846099a61cf549f450178f1fb3e27adcbd9dcfc2.tar.xz linux-846099a61cf549f450178f1fb3e27adcbd9dcfc2.zip |
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 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions