From: Karsten Wiese Date: Mon, 31 Dec 2007 05:55:05 +0000 (-0800) Subject: USB: ehci saves some memory in ISO transfer descriptors X-Git-Tag: v2.6.25-rc1~1075^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b6fcfd0664aeac6ae2fd1231f04b3ed24723c1e;p=pandora-kernel.git USB: ehci saves some memory in ISO transfer descriptors In the EHCI driver, itd->usecs[8] is used in periodic_usecs(), indexed by uframe. For an ITD's unused uframes it is 0, else it contains the same value as itd->stream->usecs. To check if an ITD's uframe is used, we can instead test itd->hw_transaction[uframe]: if used, it will be nonzero no matter what endianess is used. This patch replaces those two uses, eliminates itd->usecs[], and saves eight bytes from each ITD. Signed-off-by: Karsten Wiese Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed