[U-Boot] [PATCH 08/14] drivers/usb/host/sl811-hcd.c: Fix GCC 4.6 build warning

Wolfgang Denk
2011-12-01T23:14:16Z

Dear Wolfgang Denk,

In message <1322641077-829-9-git-send-email-wd@denx.de> you wrote:
> Fix:
> sl811-hcd.c: In function 'sl811_rh_submit_urb':
> sl811-hcd.c:556:8: warning: variable 'wIndex' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Remy Bohmer <linux@bohmer.net>
> ---
> WARNING: space prohibited between function name and open parenthesis '('
> #31: FILE: drivers/usb/host/sl811-hcd.c:554:
> + __u16 wValue = le16_to_cpu (cmd->value);
>
> WARNING: space prohibited between function name and open parenthesis '('
> #32: FILE: drivers/usb/host/sl811-hcd.c:555:
> + __u16 wLength = le16_to_cpu (cmd->length);
>
> WARNING: space prohibited between function name and open parenthesis '('
> #34: FILE: drivers/usb/host/sl811-hcd.c:557:
> + __u16 wIndex = le16_to_cpu (cmd->index);
>
> total: 0 errors, 3 warnings, 25 lines checked
>
> NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
>
> Warnings ignored. No further cleanup attempted.
>
> drivers/usb/host/sl811-hcd.c | 12 +++++-------
> 1 files changed, 5 insertions(+), 7 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
While most peoples' opinions change, the conviction of their correct-
ness never does.