[coreboot-gerrit] Change in ...coreboot[master]: sb/intel/i82371eb/fadt.c: Remove not used variable

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Thu Nov 29 20:25:54 CET 2018


HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29939


Change subject: sb/intel/i82371eb/fadt.c: Remove not used variable
......................................................................

sb/intel/i82371eb/fadt.c: Remove not used variable

Change-Id: I06c693a6b95532df7bbe6b007c048e9526485a74
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/intel/i82371eb/fadt.c
1 file changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/29939/1

diff --git a/src/southbridge/intel/i82371eb/fadt.c b/src/southbridge/intel/i82371eb/fadt.c
index 41ad31c..35ee083 100644
--- a/src/southbridge/intel/i82371eb/fadt.c
+++ b/src/southbridge/intel/i82371eb/fadt.c
@@ -31,11 +31,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);

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/29939
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06c693a6b95532df7bbe6b007c048e9526485a74
Gerrit-Change-Number: 29939
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181129/4e1a9ddb/attachment.html>


More information about the coreboot-gerrit mailing list