diff options
author | David Brownell <david-b@pacbell.net> | 2008-05-07 17:24:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-14 13:00:28 -0400 |
commit | 2c2d28a015f0dd36c5d1a06e16923e3142574066 (patch) | |
tree | 02e64a91ddfb09f899d135a50b4f7003d60a7f3a /drivers/usb/storage | |
parent | 9079e91b5b5a84836e65cdc9128d2602e3beaef2 (diff) |
USB: serial gadget: remove needless data structure
This removes a needless data structure from the serial gadget code;
it's a small code shrink, and a larger data shrink.
Since "struct usb_request" already has a "struct list_head" reserved
for use by gadget drivers, the serial gadget code doesn't need to
allocate wrapper structs to hold that list ... it can (and should!)
just use the list_head provided for that exact use.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Al Borchers <alborchers@steinerpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions