arch/x86/smbios.c: Trim some `len` variables
commitc6dab80b1cd8fb35115e9876b79abefb6c4f2d91
authorAngel Pons <th3fanbus@gmail.com>
Mon, 28 Jun 2021 13:52:37 +0000 (28 15:52 +0200)
committerWerner Zeh <werner.zeh@siemens.com>
Thu, 1 Jul 2021 07:26:56 +0000 (1 07:26 +0000)
tree0cc0a496be1e07ea9a623b96761ff9cb552b4d21
parent808692b4f41cd1867d55663e66ff21ccdf223b7d
arch/x86/smbios.c: Trim some `len` variables

Reduce the scope or remove some `len` variables. This is done to ease
replacing `sizeof` on struct types in a follow-up commit, by ensuring
that all to-be-replaced appearances follow the variable declarations.

Change-Id: Ied38fcaf87ef5b1e4f93076b4ba2898ad1f98a72
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/arch/x86/smbios.c