]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: ivybridge: remove unused uma_memory_size
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 19:17:26 +0000 (21:17 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit6461f45b7194b4b345e2f5991c3f75c5ed36f238
tree1211f13fff14d694b844d8048efcf8dfedc60a42
parent724368928c889bf754bea176f3e0aea5c1ec01b9
x86: ivybridge: remove unused uma_memory_size

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@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/sdram.c