mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
dm: core: remove redundant assignment
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 <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f93a07dd4f
commit
67817b3b7a
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ static int __of_parse_phandle_with_args(const struct device_node *np,
|
|||
{
|
||||
const __be32 *list, *list_end;
|
||||
int rc = 0, cur_index = 0;
|
||||
uint32_t count = 0;
|
||||
uint32_t count;
|
||||
struct device_node *node = NULL;
|
||||
phandle phandle;
|
||||
int size;
|
||||
|
|
Loading…
Add table
Reference in a new issue