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

Bin Meng bmeng.cn at gmail.com
Sun Jul 30 22:25:21 UTC 2017


On Mon, Jul 31, 2017 at 3:17 AM, 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(-)
>

Good catch!

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


More information about the U-Boot mailing list