From afd74d2fb3718092854ea988bc264d7a70c02f44 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 8 Aug 2023 15:41:58 +0200 Subject: [PATCH] include/device/device: drop unused fields from struct bus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neither cap, hcdn_reg, disable_relaxed_ordering nor ht_link_up are used, so drop the fields from struct bus. Signed-off-by: Felix Held Change-Id: I655b028107da7ddcb5caa03dab55b022387e7cb9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77072 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/include/device/device.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/include/device/device.h b/src/include/device/device.h index f86a52d1b2..f128070378 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -87,12 +87,8 @@ struct bus { uint16_t secondary; /* secondary bus number */ uint16_t subordinate; /* subordinate bus number */ uint16_t max_subordinate; /* max subordinate bus number */ - unsigned char cap; /* PCi capability offset */ - uint32_t hcdn_reg; /* For HyperTransport link */ unsigned int reset_needed : 1; - unsigned int disable_relaxed_ordering : 1; - unsigned int ht_link_up : 1; unsigned int no_vga16 : 1; /* No support for 16-bit VGA decoding */ };