]> asedeno.scripts.mit.edu Git - linux.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)
commite0f4145685ec7b477f6166ee819125107388a249
treeb9cc3fbd6f4ad4958748003359e7ad85b33ca6fa
parentf5d2da67714a48e9d06f27714967630c3d3b28a2
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