Re: [PATCH 1/1] boot: simplify bootmeth_vbe_simple_ft_fixup()

2022-08-26 Thread Simon Glass
On Tue, 23 Aug 2022 at 02:32, Heinrich Schuchardt wrote: > > 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 Schuc

Re: [PATCH 1/1] boot: simplify bootmeth_vbe_simple_ft_fixup()

2022-08-23 Thread Simon Glass
On Tue, 23 Aug 2022 at 02:32, Heinrich Schuchardt wrote: > > 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 Schuc

[PATCH 1/1] boot: simplify bootmeth_vbe_simple_ft_fixup()

2022-08-23 Thread Heinrich Schuchardt
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 --- boot/vbe_simple.c | 7 +++ 1 file changed, 3 insertio