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

Bin Meng bmeng.cn at gmail.com
Tue Jan 30 06:55:11 UTC 2018


On Tue, Jan 30, 2018 at 2:34 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list