[U-Boot] [PATCH 6/9] drivers/usb/gadget/ep0.c: Fix GCC 4.6 warning

Wolfgang Denk wd at denx.de
Fri Dec 9 10:37:20 CET 2011


Dear Anatolij Gustschin,

In message <1322930775-4767-6-git-send-email-agust at denx.de> you wrote:
> 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 at denx.de>
> Cc: Remy Bohmer <linux at bohmer.net>
> ---
>  drivers/usb/gadget/ep0.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In theory, there is no difference between  theory  and  practice.  In
practice, however, there is.


More information about the U-Boot mailing list