arch/x86: Fix issues with braces detected by checkpatch

Fix the following errors and warnings detected by

ERROR: open brace '{' following function declarations go on the next line
ERROR: that open brace { should be on the previous line
ERROR: else should follow close brace '}'
WARNING: braces {} are not necessary for any arm of this statement
WARNING: braces {} are not necessary for single statement blocks

TEST=Build and run on Galileo Gen2

Change-Id: I13d1967757e106c8300a15baed25d920c52a1a95
Signed-off-by: Lee Leahy <>
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <>
12 files changed