On Fri, Dec 22, 2023 at 5:59 PM Heinrich Schuchardt <xypron.g...@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.g...@gmx.de> > --- > lib/smbios-parser.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org>