summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-04-23 22:15:24 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-04-25 15:54:38 +0000
commitd5d433e07f8adf29ef02a2a99596299cc2cf473d (patch)
treefe7f17c4e2fcca14ee45c299de74ae85eb9e6d41 /src/southbridge/intel
parentf4ed5dc7f47b465707170c2ad9bab11826dea12c (diff)
downloadcoreboot-d5d433e07f8adf29ef02a2a99596299cc2cf473d.tar.xz
src/southbridge/intel: Remove unused variables
Change-Id: I3b5092aa076b9693f78c86ffb9b99805696bb0bb Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32427 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/i82371eb/fadt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/southbridge/intel/i82371eb/fadt.c b/src/southbridge/intel/i82371eb/fadt.c
index a05e6688cc..9515c01371 100644
--- a/src/southbridge/intel/i82371eb/fadt.c
+++ b/src/southbridge/intel/i82371eb/fadt.c
@@ -33,11 +33,8 @@
void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
{
acpi_header_t *header = &(fadt->header);
- struct device *dev;
/* Power management controller */
- dev = dev_find_device(PCI_VENDOR_ID_INTEL,
- PCI_DEVICE_ID_INTEL_82371AB_SMB_ACPI, 0);
memset((void *) fadt, 0, sizeof(acpi_fadt_t));
memcpy(header->signature, "FACP", 4);