diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-02-02 18:56:46 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-07-17 18:45:23 +0000 |
commit | 55be012ffdc79a259c6c180e58a6e24c744119f7 (patch) | |
tree | 94161b4e0a232b3d73f5c07340079d8ecdcda613 /src/drivers/intel | |
parent | 8765c09a630e4df6d01ae460149921b03fe4f73b (diff) |
drivers: Get rid of unnecessary blank lines {before,after} brace
Change-Id: Ic1b38e93d919c1286a8d130700a4a2bfd6b55258
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61557
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r-- | src/drivers/intel/fsp1_1/car.c | 1 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/hand_off_block.c | 2 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/header_display.c | 1 | ||||
-rw-r--r-- | src/drivers/intel/gma/opregion.c | 1 | ||||
-rw-r--r-- | src/drivers/intel/usb4/retimer/retimer.c | 1 |
5 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/intel/fsp1_1/car.c b/src/drivers/intel/fsp1_1/car.c index 5d41a017b6..fc05b91987 100644 --- a/src/drivers/intel/fsp1_1/car.c +++ b/src/drivers/intel/fsp1_1/car.c @@ -19,7 +19,6 @@ void fill_postcar_frame(struct postcar_frame *pcf) * with different TSEG size configurations. */ top_of_ram = ALIGN_DOWN((uintptr_t)cbmem_top(), 8*MiB); postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 16*MiB, MTRR_TYPE_WRBACK); - } /* This is the romstage entry called from cpu/intel/car/romstage.c */ diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c index 6ea3aa3406..a40da7736c 100644 --- a/src/drivers/intel/fsp2_0/hand_off_block.c +++ b/src/drivers/intel/fsp2_0/hand_off_block.c @@ -134,7 +134,6 @@ struct hob_resource *find_resource_hob_by_guid(const struct hob_header *hob, for (; hob->type != HOB_TYPE_END_OF_HOB_LIST; hob = fsp_next_hob(hob)) { - if (hob->type != HOB_TYPE_RESOURCE_DESCRIPTOR) continue; @@ -198,7 +197,6 @@ const void *fsp_find_extension_hob_by_guid(const uint8_t *guid, size_t *size) for (; hob->type != HOB_TYPE_END_OF_HOB_LIST; hob = fsp_next_hob(hob)) { - if (hob->type != HOB_TYPE_GUID_EXTENSION) continue; diff --git a/src/drivers/intel/fsp2_0/header_display.c b/src/drivers/intel/fsp2_0/header_display.c index d209e4ce2d..f286061da5 100644 --- a/src/drivers/intel/fsp2_0/header_display.c +++ b/src/drivers/intel/fsp2_0/header_display.c @@ -51,5 +51,4 @@ void fsp_print_header_info(const struct fsp_header *hdr) printk(BIOS_SPEW, "\tNotify phase offset 0x%zx\n", (size_t)hdr->notify_phase_entry_offset); } - } diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c index dc99fd49e4..fe333fa674 100644 --- a/src/drivers/intel/gma/opregion.c +++ b/src/drivers/intel/gma/opregion.c @@ -290,7 +290,6 @@ static inline bool uses_relative_vbt_addr(opregion_header_t *header) static void opregion_add_ext_vbt(igd_opregion_t *opregion, uint8_t *ext_vbt, optionrom_vbt_t *vbt) { - opregion_header_t *header = &opregion->header; /* Copy VBT into extended VBT region (at offset 8 KiB) */ memcpy(ext_vbt, vbt, vbt->hdr_vbt_size); diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c index 52765750a9..7fb600d879 100644 --- a/src/drivers/intel/usb4/retimer/retimer.c +++ b/src/drivers/intel/usb4/retimer/retimer.c @@ -386,7 +386,6 @@ static void usb4_retimer_fill_ssdt(const struct device *dev) acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON); for (dfp_port = 0; dfp_port < DFP_NUM_MAX; dfp_port++) { - if (!config->dfp[dfp_port].power_gpio.pin_count) { printk(BIOS_WARNING, "%s: No DFP%1d power GPIO for %s\n", __func__, dfp_port, dev_path(dev)); |