[PATCH 1/1] lib: smbios: remove redundant next_header()
Simon Glass
sjg at chromium.org
Tue Dec 26 10:50:47 CET 2023
On Fri, Dec 22, 2023 at 5:59 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> 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.
>
> Fixes: 3d49ee8510d3 ("efi_loader: add SMBIOS table measurement")
Yes, please drop that
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> lib/smbios-parser.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list