From: Alan Stern Date: Wed, 14 Jul 2010 15:03:36 +0000 (-0400) Subject: USB: EHCI: simplify remainder computations X-Git-Tag: v2.6.36-rc1~293^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bccbefaae050186bed3bcc74b1fd1a9b8c6710b2;p=pandora-kernel.git USB: EHCI: simplify remainder computations This patch (as1406) adds a micro-optimization to ehci-hcd's scheduling code. Instead of computing remainders with respect to the schedule length, use bitwise-and (which is quicker). We know that the schedule length will always be a power of two, but the compiler doesn't have this information. Signed-off-by: Alan Stern CC: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed