diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2022-10-20 18:56:43 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-07 14:39:32 +0000 |
commit | 2f548e597b637d6a66eb45ffca77e2ce2a776ae6 (patch) | |
tree | 63e7bcf1e0c60e3bd5061280a96a8514226425f2 /src/ec/acpi/ec.asl | |
parent | 0e7a52a13896c90ad7772b592915ae25b3ff3007 (diff) |
drivers/intel/fsp2_0/memory_init.c: clean code
No need to call a function that just instantly returns.
It greatly enhances readability to just check before calling a funtion
and it also removes an extra argument.
Change-Id: I4d57c45ede520160ef615725c023b7e92289a995
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68592
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/ec/acpi/ec.asl')
0 files changed, 0 insertions, 0 deletions