From: David Brownell Date: Wed, 7 May 2008 21:24:10 +0000 (-0700) Subject: USB: serial gadget: remove needless data structure X-Git-Tag: v2.6.26-rc3~64^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2d28a015f0dd36c5d1a06e16923e3142574066;p=pandora-kernel.git 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 Cc: Al Borchers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed