Re: [PATCH 1/1] dm: core: remove redundant assignment

2020-02-16 Thread Simon Glass
On Sat, 15 Feb 2020 at 13:46, Heinrich Schuchardt wrote: > > Variable count is initialized at the start of every round of the while > loop and it is not used after the while loop. So there is no need to > initialize it beforehand. > > Identified by cppcheck. > > Signed-off-by: Heinrich Schuchardt

[PATCH 1/1] dm: core: remove redundant assignment

2020-02-15 Thread Heinrich Schuchardt
Variable count is initialized at the start of every round of the while loop and it is not used after the while loop. So there is no need to initialize it beforehand. Identified by cppcheck. Signed-off-by: Heinrich Schuchardt --- drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+),