]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: ep0: fix compile warning
authorFelipe Balbi <balbi@ti.com>
Tue, 10 Jan 2012 15:29:29 +0000 (17:29 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 13:42:25 +0000 (15:42 +0200)
commit1a0955fed11363bea66742fffc6f8ad1e6800a6d
tree6bad0fa895af0841904a38365e4d0af14a511620
parent006896fc612f11bf0624db7814a75d0d5410855f
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>
drivers/usb/dwc3/ep0.c