diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-08-23 10:31:56 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-08-26 16:32:59 -0600 |
commit | 49740e02555f72394fb319a8221bad833d8207db (patch) | |
tree | ff51888002e1acb78ef111fa00bc50b6a924a63a /lib/efi_loader/helloworld.c | |
parent | d81eeacd48f760516abf12e69aba4ce5dd44545f (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