diff options
author | David Brownell <david-b@pacbell.net> | 2008-05-07 14:24:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-14 10:00:28 -0700 |
commit | 2c2d28a015f0dd36c5d1a06e16923e3142574066 (patch) | |
tree | 02e64a91ddfb09f899d135a50b4f7003d60a7f3a /drivers/usb/usb-skeleton.c | |
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/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions