commit | 846099a61cf549f450178f1fb3e27adcbd9dcfc2 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Fri Mar 27 12:54:21 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 15 21:44:40 2009 -0700 |
tree | f6c59fab37b8e81124d6a62f66c3a4405f96db60 | |
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>