From: Sergei Shtylyov Date: Fri, 27 Mar 2009 19:54:21 +0000 (-0700) Subject: musb_host: refactor musb_save_toggle() (take 2) X-Git-Tag: v2.6.31-rc1~304^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=846099a61cf549f450178f1fb3e27adcbd9dcfc2;p=pandora-kernel.git 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 Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed