drivers/usb/gadget/ep0.c: Fix GCC 4.6 warning
authorAnatolij Gustschin <agust@denx.de>
Sat, 3 Dec 2011 06:46:12 +0000 (06:46 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 09:37:09 +0000 (10:37 +0100)
commite6d55d2d9d0f43ace5e8cbc8de931eeae957e03c
treeda3a1fac105bcb39056bb15b36ecc2c6f5a21932
parent5fea7756da807ce3fdfb9facc1a623e26b2a33e3
drivers/usb/gadget/ep0.c: Fix GCC 4.6 warning

Fix:
ep0.c: In function 'ep0_get_descriptor':
ep0.c:187:8: warning: variable 'cp' 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/ep0.c