[U-Boot] [PATCH 1/1] x86: ivybridge: remove unused uma_memory_size

Bin Meng bmeng.cn at gmail.com
Tue Aug 1 12:24:23 UTC 2017


On Tue, Aug 1, 2017 at 5:12 PM, Simon Glass <sjg at chromium.org> wrote:
> On 30 July 2017 at 13:17, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>> The value of uma_memory_size depends on an undefined value
>> from the stack. The value of uma_memory_size is changed but
>> never used.
>>
>> So simply remove this superfluous code.
>>
>> The problem was indicated by cppcheck.
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>> ---
>>  arch/x86/cpu/ivybridge/sdram.c | 5 -----
>>  1 file changed, 5 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list