]> 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)
commit975b8f61f654d15fb5139d4bb775f492190d9266
treeb9cc3fbd6f4ad4958748003359e7ad85b33ca6fa
parent34f803dd326a283323f74e74f44f2bcf3d8aca57
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