summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-09-10 15:01:52 +0200
committerFelipe Balbi <balbi@ti.com>2012-09-10 16:01:43 +0300
commit40bfef0535e8a10486c9d81fd2f55e3b9dc71db6 (patch)
tree1c2d1b9b8937c8e1e4b2b8852bb1f9775d57b964 /drivers/usb/gadget
parente13f17ff8854e04cfc6b9f981a974f55d8da9b92 (diff)
downloadtalos-op-linux-40bfef0535e8a10486c9d81fd2f55e3b9dc71db6.tar.gz
talos-op-linux-40bfef0535e8a10486c9d81fd2f55e3b9dc71db6.zip
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 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/composite.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 52689ee9db12..16b353fa160a 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -1449,7 +1449,6 @@ static int composite_bind(struct usb_gadget *gadget,
cdev->req->complete = composite_setup_complete;
gadget->ep0->driver_data = cdev;
- cdev->bufsiz = USB_COMP_EP0_BUFSIZ;
cdev->driver = composite;
/*
OpenPOWER on IntegriCloud