[U-Boot] [PATCH 1/7 V3] GCC4.6: Convert various empty macros to inline functions
Wolfgang Denk
wd at denx.de
Sat Oct 1 23:20:00 CEST 2011
Dear Marek Vasut,
In message <1317058579-936-1-git-send-email-marek.vasut at gmail.com> you wrote:
> Fix the following gcc4.6 problems:
>
> cmd_date.c: In function `do_date´:
> cmd_date.c:50:6: warning: variable `old_bus´ set but not used
> [-Wunused-but-set-variable]
> asix.c: In function `asix_init´:
> asix.c:317:6: warning: variable `rx_ctl´ set but not used
> [-Wunused-but-set-variable]
> usb.c: In function `usb_parse_config´:
> usb.c:331:17: warning: variable `ch´ set but not used
> [-Wunused-but-set-variable]
> usb.c: In function `usb_hub_port_connect_change´:
> usb.c:1123:29: warning: variable `portchange´ set but not used
> [-Wunused-but-set-variable]
> usb.c: In function `usb_hub_configure´:
> usb.c:1183:25: warning: variable `hubsts´ set but not used
> [-Wunused-but-set-variable]
> usb_storage.c: In function `usb_stor_CB_reset´:
> usb_storage.c:466:6: warning: variable `result´ set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> ---
> common/usb.c | 4 ++--
> common/usb_storage.c | 2 +-
> include/common.h | 4 ++--
> include/i2c.h | 5 ++++-
> 4 files changed, 9 insertions(+), 6 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
Life would be so much easier if we could just look at the source
code. -- Dave Olson
More information about the U-Boot
mailing list