diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-04-12 14:11:27 -0500 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-07 01:38:17 +0200 |
commit | 46b2271ea49d43607cbed273b367f48cf04d844d (patch) | |
tree | 76698c5bbbcb9359a73706f9d76d507208659bec /util/nvramtool | |
parent | 0004ae8f4bf13e549474c5db998f4708fb0b88e8 (diff) |
northbridge/amd/amdfam10: Remove array to null comparison
The address of array 'sysinfo->DCTstatA' will always evaluate to 'true'.
Remove checking the base pointer of an array for validity.
Found-by: Coverity (CID 1293135: Incorrect expression)
Found-by: Clang (Wpointer-bool-conversion)
Change-Id: I99c9c9f1564dfb997c60b2a895d664e3b06c117b
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/9596
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/nvramtool')
0 files changed, 0 insertions, 0 deletions