]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/usb/gadget/core.c: Fix GCC 4.6 warning
authorAnatolij Gustschin <agust@denx.de>
Sat, 3 Dec 2011 06:46:11 +0000 (06:46 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 09:36:54 +0000 (10:36 +0100)
commit5fea7756da807ce3fdfb9facc1a623e26b2a33e3
tree17acd2f1a16709886184896dfd10eea8fc32f6a9
parentc594a8de4ed8635d06f5f1588da93c962e13110f
drivers/usb/gadget/core.c: Fix GCC 4.6 warning

Fix:
core.c: In function 'usbd_device_event_irq':
core.c:596:21: warning: variable 'state' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Acked-by: Remy Bohmer <linux@bohmer.net>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
drivers/usb/gadget/core.c