diff options
author | Martin Roth <gaumless@gmail.com> | 2023-10-23 18:43:36 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-10-25 15:20:50 +0000 |
commit | 4bae3237464889454cff9cbdec7bd7ba61d3dccd (patch) | |
tree | 06f7d8590c64c0c734d6e54940d1267017371b77 /src/soc/amd | |
parent | e6f19240de18e1b48b7a31875634bcc8045d9e8f (diff) |
mb/prodrive/hermes: Skip NULL check after setting up struct
By calling get_board_settings() when board_cfg is initialized, board_cfg
is guaranteed not to be NULL, so don't check to see if it's NULL.
Found-by: Coverity Scan #1513079
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I61105be9ed71ff30efdda66d2cbfcaf54d70053f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78618
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd')
0 files changed, 0 insertions, 0 deletions