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:
parent
91664d4d6f
commit
015082dff3
|
@ -515,10 +515,9 @@ int main(int argc, char *argv[])
|
||||||
printf("Southbridge: %04x:%04x (%s)\n",
|
printf("Southbridge: %04x:%04x (%s)\n",
|
||||||
sb->vendor_id, sb->device_id, sbname);
|
sb->vendor_id, sb->device_id, sbname);
|
||||||
|
|
||||||
if (gfx) {
|
if (gfx)
|
||||||
printf("IGD: %04x:%04x (%s)\n",
|
printf("IGD: %04x:%04x (%s)\n",
|
||||||
gfx->vendor_id, gfx->device_id, gfxname);
|
gfx->vendor_id, gfx->device_id, gfxname);
|
||||||
}
|
|
||||||
|
|
||||||
/* Now do the deed */
|
/* Now do the deed */
|
||||||
|
|
||||||
|
@ -565,21 +564,17 @@ int main(int argc, char *argv[])
|
||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dump_ambs) {
|
if (dump_ambs)
|
||||||
print_ambs(nb, pacc);
|
print_ambs(nb, pacc);
|
||||||
}
|
|
||||||
|
|
||||||
if (dump_spi) {
|
if (dump_spi)
|
||||||
print_spi(sb);
|
print_spi(sb);
|
||||||
}
|
|
||||||
|
|
||||||
if (dump_gfx) {
|
if (dump_gfx)
|
||||||
print_gfx(gfx);
|
print_gfx(gfx);
|
||||||
}
|
|
||||||
|
|
||||||
if (dump_ahci) {
|
if (dump_ahci)
|
||||||
print_ahci(ahci);
|
print_ahci(ahci);
|
||||||
}
|
|
||||||
|
|
||||||
if (dump_sgx)
|
if (dump_sgx)
|
||||||
print_sgx();
|
print_sgx();
|
||||||
|
|
Loading…
Reference in New Issue