commit | 9ff9629c480a2c641f931afe8daf67f68ed2bd80 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Aug 23 10:31:56 2022 +0200 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 26 16:32:59 2022 -0600 |
tree | ff51888002e1acb78ef111fa00bc50b6a924a63a | |
parent | 3bfd10b8677b105cb2f04b6c112b5a65b06c538d [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>