summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/x4x
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-22 23:33:11 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-24 09:35:46 +0000
commit502008d5dc4467fc03e8a2edd7a50b340a4c5529 (patch)
tree1880c7051d9225fa151a71335a03742c6e7d3c34 /src/northbridge/intel/x4x
parentf0a576595a12d0d3ba8dd0fc003027dd35d7a522 (diff)
nb/northbridge/intel/x4x/acpi.c: Remove variable set but not used
Change-Id: I715adbe3d90d0f5195b54c274fb7843945d3e6be Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32950 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge/intel/x4x')
-rw-r--r--src/northbridge/intel/x4x/acpi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/acpi.c b/src/northbridge/intel/x4x/acpi.c
index fb04fd8582..a91d227c7a 100644
--- a/src/northbridge/intel/x4x/acpi.c
+++ b/src/northbridge/intel/x4x/acpi.c
@@ -25,11 +25,9 @@
unsigned long acpi_fill_mcfg(unsigned long current)
{
- struct device *dev;
u32 pciexbar = 0;
u32 length = 0;
- dev = pcidev_on_root(0, 0);
if (!decode_pciebar(&pciexbar, &length))
return current;