diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-10 09:01:52 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 09:01:43 -0400 |
commit | 40bfef0535e8a10486c9d81fd2f55e3b9dc71db6 (patch) | |
tree | 1c2d1b9b8937c8e1e4b2b8852bb1f9775d57b964 /include/linux/usb | |
parent | e13f17ff8854e04cfc6b9f981a974f55d8da9b92 (diff) |
usb: gadget: remove bufsiz from struct usb_composite_dev
there is no read user of bufsiz, its content is available via
USB_COMP_EP0_BUFSIZ. Remove it.
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/composite.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index 89d91b671eb0..e970fba6dbbb 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h | |||
@@ -318,7 +318,6 @@ extern void usb_composite_setup_continue(struct usb_composite_dev *cdev); | |||
318 | * struct usb_composite_device - represents one composite usb gadget | 318 | * struct usb_composite_device - represents one composite usb gadget |
319 | * @gadget: read-only, abstracts the gadget's usb peripheral controller | 319 | * @gadget: read-only, abstracts the gadget's usb peripheral controller |
320 | * @req: used for control responses; buffer is pre-allocated | 320 | * @req: used for control responses; buffer is pre-allocated |
321 | * @bufsiz: size of buffer pre-allocated in @req | ||
322 | * @config: the currently active configuration | 321 | * @config: the currently active configuration |
323 | * | 322 | * |
324 | * One of these devices is allocated and initialized before the | 323 | * One of these devices is allocated and initialized before the |
@@ -349,7 +348,6 @@ extern void usb_composite_setup_continue(struct usb_composite_dev *cdev); | |||
349 | struct usb_composite_dev { | 348 | struct usb_composite_dev { |
350 | struct usb_gadget *gadget; | 349 | struct usb_gadget *gadget; |
351 | struct usb_request *req; | 350 | struct usb_request *req; |
352 | unsigned bufsiz; | ||
353 | 351 | ||
354 | struct usb_configuration *config; | 352 | struct usb_configuration *config; |
355 | 353 | ||