[U-Boot] [PATCH] cmd_bdinfo: simplify local static funcs a bit
Tabi Timur-B04825
B04825 at freescale.com
Mon Oct 31 22:15:48 CET 2011
On Sun, Oct 30, 2011 at 7:54 PM, Mike Frysinger <vapier at gentoo.org> wrote:
>
>
> -static void print_num(const char *, ulong);
> +__maybe_unused
> +static void print_num(const char *name, ulong value)
> +{
> + printf("%-12s= 0x%08lX\n", name, value);
> +}
>
Will the linker remove the functions from the binary if they are unusued?
--
Timur Tabi
Linux kernel developer at Freescale
More information about the U-Boot
mailing list