summaryrefslogtreecommitdiffstats
path: root/lib/prio_heap.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2009-03-27 12:54:21 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:40 -0700
commit846099a61cf549f450178f1fb3e27adcbd9dcfc2 (patch)
treef6c59fab37b8e81124d6a62f66c3a4405f96db60 /lib/prio_heap.c
parent37e3ee991091e08d4902e3d2694c723446a89a8d (diff)
downloadop-kernel-dev-846099a61cf549f450178f1fb3e27adcbd9dcfc2.zip
op-kernel-dev-846099a61cf549f450178f1fb3e27adcbd9dcfc2.tar.gz
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 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud