diff options
| author | Karsten Wiese <[email protected]> | 2007-12-31 05:55:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-02-01 22:35:02 +0000 |
| commit | 3b6fcfd0664aeac6ae2fd1231f04b3ed24723c1e (patch) | |
| tree | 91f6bf59435039eefcd4a931bed274a0b33882f1 /drivers/usb/core/devio.c | |
| parent | USB: add ehci-ixp bus glue (diff) | |
| download | kernel-3b6fcfd0664aeac6ae2fd1231f04b3ed24723c1e.tar.gz kernel-3b6fcfd0664aeac6ae2fd1231f04b3ed24723c1e.zip | |
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 <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/devio.c')
0 files changed, 0 insertions, 0 deletions
