]> git.baikalelectronics.ru Git - kernel.git/commit
of: overlay: Remove else after goto
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Nov 2017 08:26:33 +0000 (09:26 +0100)
committerRob Herring <robh@kernel.org>
Wed, 6 Dec 2017 20:56:33 +0000 (14:56 -0600)
commit2d9bc6107108d8bb150aaf6a07dc14f919400fc2
treeaeab0884f7d1b6d56cebc73f40f75a67179a7daf
parent0c3a70929d11c8d0d0411cc658c79eb45f19319a
of: overlay: Remove else after goto

If an "if" branch is terminated by a "goto", there's no need to have an
"else" statement and an indented block of code.

Remove the "else" statement to simplify the code flow for the casual
reviewer.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c