]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: smbios: verify_checksum() is duplicate
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 26 Dec 2023 10:22:28 +0000 (11:22 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Jan 2024 09:09:09 +0000 (10:09 +0100)
commitdc2fe5d84ea1f285fa0ad1052deee742c8f593e3
treecb7af2f219c4842dfab8fae2340c98d3b691b515
parente3db8d60becb9842eb382d78863dd6f3d3756009
lib: smbios: verify_checksum() is duplicate

The function verify_checksum() duplicates what table_compute_checksum()
does. Replace it. table_compute_checksum() is always compiled.

Fixes: 415eab0655a8 ("smbios: add parsing API")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/smbios-parser.c