aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-01-10 17:29:29 +0200
committerFelipe Balbi <balbi@ti.com>2012-01-24 15:42:25 +0200
commit1a0955fed11363bea66742fffc6f8ad1e6800a6d (patch)
tree6bad0fa895af0841904a38365e4d0af14a511620 /drivers/usb
parent006896fc612f11bf0624db7814a75d0d5410855f (diff)
downloadkernel_goldelico_gta04-1a0955fed11363bea66742fffc6f8ad1e6800a6d.zip
kernel_goldelico_gta04-1a0955fed11363bea66742fffc6f8ad1e6800a6d.tar.gz
kernel_goldelico_gta04-1a0955fed11363bea66742fffc6f8ad1e6800a6d.tar.bz2
usb: dwc3: ep0: fix compile warning
commit 34c60a7 (usb: dwc3: ep0: tidy up Pending Request handling) introduced a compile warning by leaving an unused variable. This patch fixes that warning: drivers/usb/dwc3/ep0.c: In function ‘__dwc3_gadget_ep0_queue’: drivers/usb/dwc3/ep0.c:129:8: warning: unused variable ‘type’ [-Wunused-variable] Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/ep0.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 74a3828..c8df1dd 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -126,7 +126,6 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
struct dwc3_request *req)
{
struct dwc3 *dwc = dep->dwc;
- u32 type;
int ret = 0;
req->request.actual = 0;