]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: smbios: remove redundant next_header()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 23 Dec 2023 01:17:33 +0000 (02:17 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jan 2024 22:05:29 +0000 (17:05 -0500)
commitddcfb9ede8da45ebbdb1c4facf07b0f0b735373f
tree28b5b3b326d93637989b76c9c0408b8595af1bfc
parent1c5aab803c0b0f07be1d3b0029f4031463497acf
lib: smbios: remove redundant next_header()

next_header() and get_next_header() only differ in how the const attribute
is used. One function taking a const parameter and returning a non-const is
good enough.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/smbios-parser.c