dm: core: Supress dead-code warning in __of_get_next_child()
authorSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 16:28:45 +0000 (10:28 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:10 +0000 (08:38 -0400)
commit73027a853d2d9324ef2b15d5a860da3e3126321d
tree184810055f4e7993abaad8249e8dff9739c5920b
parent4f414d392fb5d7c4ac547c4ee9f02b81648c00dd
dm: core: Supress dead-code warning in __of_get_next_child()

Suppress a warning on next = next->sibling.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 163245)
Fixes 644ec0a (dm: core: Add livetree access functions)
drivers/core/of_access.c