Skip to content
Snippets Groups Projects
Commit 2716077c authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

board:keymile: remove unnecessary double braces


Clang interpretes an if condition like  "if ((a = b) == NULL)
as it tries to assign a value in a statement. Hence if you do
"if ((something)) it warns you that you might be confused.
Hence drop the double braces for plane if statements.

cc: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 930e4254
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment