From 22710a66ac8f01fc4556bb1eaaa50c30352881df Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 20 Sep 2016 19:16:55 +0200 Subject: northbridge/intel/e7505/debug.c: Improve code formatting Change-Id: I63f58d95fa01b1f73f3620a5d13f21ef62e2404c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16588 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/northbridge/intel/e7505/debug.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/northbridge/intel/e7505') diff --git a/src/northbridge/intel/e7505/debug.c b/src/northbridge/intel/e7505/debug.c index d2536b5a02..e31106e059 100644 --- a/src/northbridge/intel/e7505/debug.c +++ b/src/northbridge/intel/e7505/debug.c @@ -78,8 +78,8 @@ void dump_pci_devices_on_bus(unsigned busn) uint32_t id; id = pci_read_config32(dev, PCI_VENDOR_ID); if (((id & 0xffff) == 0x0000) || ((id & 0xffff) == 0xffff) || - (((id >> 16) & 0xffff) == 0xffff) || - (((id >> 16) & 0xffff) == 0x0000)) { + (((id >> 16) & 0xffff) == 0xffff) || + (((id >> 16) & 0xffff) == 0x0000)) { continue; } dump_pci_device(dev); @@ -156,7 +156,6 @@ void dump_smbus_registers(void) void dump_io_resources(unsigned port) { - int i; printk(BIOS_DEBUG, "%04x:\n", port); for (i = 0; i < 256; i++) { -- cgit v1.2.3