socrates: Fix a misleading indentation warning
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:19 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:22 +0000 (08:37 -0400)
commit1f7efe82bdd5677500cc864ee53530d73367afab
treea37a551071d3b771f3d3b5c88640504a83273a8e
parentc33e825ac35bd13a29665b7bb32d00daad2bd59e
socrates: Fix a misleading indentation warning

With gcc-6 and later we see a warning about the fact that we have a
construct of "if (test);\n\tstatement".  Upon reviewing the code, the
intention here is as the compiler suggests, we only want to execute the
indented statement if the test was true.

Cc: Sergei Poselenov <sposelenov@emcraft.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/socrates/socrates.c