amd/amdfam10: eliminate dead code
commit47f7b0e196baa5b21820e8b7f91af18459e27813
authorPatrick Georgi <pgeorgi@chromium.org>
Mon, 1 Aug 2016 11:30:02 +0000 (1 13:30 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 2 Aug 2016 12:02:51 +0000 (2 14:02 +0200)
tree5421901bc8987a7cd8b14ae84e105b152c628b20
parent8c8403ff5f7bab0f6e5c4ccc20e5be0afbca569b
amd/amdfam10: eliminate dead code

if (gart) { foo = gart?a:b; } never evaluates to foo=b.

Change-Id: Ibc7376687374065585b125a670dea5fe46bda97a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1347365
Reviewed-on: https://review.coreboot.org/16008
Tested-by: build bot (Jenkins)
Reviewed-by: Omar Pakker
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/northbridge/amd/amdfam10/misc_control.c