summaryrefslogtreecommitdiff
path: root/util/kconfig/description.md
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2023-05-11 15:38:04 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-05-12 16:19:41 +0000
commit73e6318ec7c043066a6fbbecf36b10afed245644 (patch)
tree5ad228643ba7ff7d0bbefdc915cd7a5d40f2d076 /util/kconfig/description.md
parente0b140627607569ca36da2d8cc7eec15e970bd71 (diff)
mb/prodrive/hermes: Simplify handling board cfg
The `get_board_settings()` function always returns non-NULL, so there is no need for NULL checks. When only one member is accessed, also drop the local variable and directly dereference the function's return value. Change-Id: I4fc62ca2454f4da7c8ade506064a7b0e6ba48749 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75140 Reviewed-by: Christian Walter <christian.walter@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'util/kconfig/description.md')
0 files changed, 0 insertions, 0 deletions