summaryrefslogtreecommitdiff
path: root/lib/efi_loader/helloworld.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-08-23 10:31:56 +0200
committerSimon Glass <sjg@chromium.org>2022-08-26 16:32:59 -0600
commit49740e02555f72394fb319a8221bad833d8207db (patch)
treeff51888002e1acb78ef111fa00bc50b6a924a63a /lib/efi_loader/helloworld.c
parentd81eeacd48f760516abf12e69aba4ce5dd44545f (diff)
boot: simplify bootmeth_vbe_simple_ft_fixup()
Don't assign a value to a variable if it is not used afterwards. Move variables to the code fragment where they are used. Addresses-Coverity: CID 356243 ("Code maintainability issues (UNUSED_VALUE)") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/helloworld.c')
0 files changed, 0 insertions, 0 deletions