of: fdt: do not update local variable after use
authorOhhoon Kwon <ohoono.kwon@samsung.com>
Tue, 3 Aug 2021 10:13:09 +0000 (19:13 +0900)
committerRob Herring <robh@kernel.org>
Tue, 3 Aug 2021 20:20:00 +0000 (14:20 -0600)
commit4409273b818cfcbb2f64718d9438629398ac3ae5
tree982668f67338dea2e0edffd03a8e5260c1045466
parentd08d29c8041b4306d35888eb5b920bb70ae859e3
of: fdt: do not update local variable after use

Fix the below warning:
drivers/of/fdt.c:196:4: warning: Value stored to 'pprev' is never read
[clang-analyzer-deadcode.DeadStores]
             pprev      = &pp->next;
             ^            ~~~~~~~~~

Signed-off-by: Ohhoon Kwon <ohoono.kwon@samsung.com>
Link: https://lore.kernel.org/r/20210803101309.904-1-ohoono.kwon@samsung.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c