Searched hist:"846099 a61cf549f450178f1fb3e27adcbd9dcfc2" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/musb/ |
H A D | musb_host.c | diff 846099a61cf549f450178f1fb3e27adcbd9dcfc2 Fri Mar 27 20:54:21 CET 2009 Sergei Shtylyov <sshtylyov@ru.mvista.com> 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>
|