diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-10 22:28:47 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 20:27:06 (GMT) |
commit | 930e4254ec29ea5133c0772d4a3804ba1c59b275 (patch) | |
tree | 912a465f68e4cad5441f00b2d0494225316358ae /common/bootretry.c | |
parent | 867abdac5effde660ac1ca9db8c43994edc01c09 (diff) | |
download | u-boot-fsl-qoriq-930e4254ec29ea5133c0772d4a3804ba1c59b275.tar.xz |
common/cli_hush.c: 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.
Simon Glass <sjg@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/bootretry.c')
0 files changed, 0 insertions, 0 deletions