]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: quark: Fix unused warnings
authorTom Rini <trini@konsulko.com>
Sat, 27 Jan 2018 20:13:47 +0000 (15:13 -0500)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 30 Jan 2018 14:34:38 +0000 (22:34 +0800)
commitd0c0752addcb82fbc74c43842a58cca34d22de00
tree1a9e67f18b24c6cba6d3ebb8a59b057838ea47c0
parentca92ad4f6899cf37e69661f91dd49711b2ec09c7
x86: quark: Fix unused warnings

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@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/quark/smc.c