Skip to content
Commit 49740e02 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Simon Glass
Browse files

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: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d81eeacd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment