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

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


Dear Anatolij Gustschin,

In message <1322930775-4767-5-git-send-email-agust at denx.de> you wrote:
> 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 at denx.de>
> Cc: Remy Bohmer <linux at bohmer.net>
> ---
>  drivers/usb/gadget/core.c |    4 ++--
>  1 files changed, 2 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
A girl with a future avoids the man with a past.
                                   -- Evan Esar, "The Humor of Humor"


More information about the U-Boot mailing list