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

Simon Glass sjg at chromium.org
Tue Aug 1 09:12:50 UTC 2017


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>


More information about the U-Boot mailing list