]> git.baikalelectronics.ru Git - kernel.git/commit
of: unittest: Remove redundant OF_DETACHED flag setting
authorStephen Boyd <stephen.boyd@linaro.org>
Fri, 13 Oct 2017 07:44:51 +0000 (00:44 -0700)
committerRob Herring <robh@kernel.org>
Mon, 16 Oct 2017 21:49:49 +0000 (16:49 -0500)
commitb55a2d5b6b76c5bd235e6dcf83381e441ea1c4f4
treeb9cc3fbd6f4ad4958748003359e7ad85b33ca6fa
parent2e725c0639acb370ea2ecc3b123f8a90cc72d33d
of: unittest: Remove redundant OF_DETACHED flag setting

of_fdt_unflatten_tree() already sets the flag on the node to
OF_DETACHED, because of_fdt_unflatten_tree() calls
__unflatten_device_tree() with the detached bool set to true.

Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c