util/inteltool: Clean up checkpatch.pl warnings

Remove braces around single statements.
"WARNING: braces {} are not necessary for single statement blocks"

Change-Id: Id5a7dc3a9672266b66d7f46db2ff087b98fd174d
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/20771
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Pratik Prajapati 2017-07-25 11:16:55 -07:00 committed by Martin Roth
parent 91664d4d6f
commit 015082dff3
1 changed files with 5 additions and 10 deletions

View File

@ -515,10 +515,9 @@ int main(int argc, char *argv[])
printf("Southbridge: %04x:%04x (%s)\n",
sb->vendor_id, sb->device_id, sbname);
if (gfx) {
if (gfx)
printf("IGD: %04x:%04x (%s)\n",
gfx->vendor_id, gfx->device_id, gfxname);
}
/* Now do the deed */
@ -565,21 +564,17 @@ int main(int argc, char *argv[])
printf("\n\n");
}
if (dump_ambs) {
if (dump_ambs)
print_ambs(nb, pacc);
}
if (dump_spi) {
if (dump_spi)
print_spi(sb);
}
if (dump_gfx) {
if (dump_gfx)
print_gfx(gfx);
}
if (dump_ahci) {
if (dump_ahci)
print_ahci(ahci);
}
if (dump_sgx)
print_sgx();