[U-Boot] [PATCH] x86: quark: Fix unused warnings

Bin Meng bmeng.cn at gmail.com
Tue Jan 30 06:34:59 UTC 2018


On Sun, Jan 28, 2018 at 4:13 AM, Tom Rini <trini at konsulko.com> wrote:
> The variable t_rfc is never used, so drop it.  The variables ddr_wctl
> and ddr_wcmd are only used in certain manual instances, so guard their
> declaration by the same check as their use.
>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/x86/cpu/quark/smc.c | 13 ++++---------
>  1 file changed, 4 insertions(+), 9 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list