[coreboot-gerrit] Change in ...coreboot[master]: sb/amd/common/amd_pci_util.c: Remove not used variable
HAOUAS Elyes (Code Review)
gerrit at coreboot.org
Thu Nov 29 20:57:53 CET 2018
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29942
Change subject: sb/amd/common/amd_pci_util.c: Remove not used variable
......................................................................
sb/amd/common/amd_pci_util.c: Remove not used variable
Change-Id: Ie239d067529f6cdea2bea5ae7327562ccb080196
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/amd/common/amd_pci_util.c
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/29942/1
diff --git a/src/southbridge/amd/common/amd_pci_util.c b/src/southbridge/amd/common/amd_pci_util.c
index ca76809..acec116 100644
--- a/src/southbridge/amd/common/amd_pci_util.c
+++ b/src/southbridge/amd/common/amd_pci_util.c
@@ -100,7 +100,6 @@
u16 target_pin = 0; /* Pin we will search our tables for */
u16 int_line = 0; /* IRQ number read from PCI_INTR table and programmed to INT_LINE reg 0x3C */
u16 pci_intr_idx = 0; /* Index into PCI_INTR table, 0xC00/0xC01 */
- u8 bus = 0; /* A PCI Device Bus number */
u16 devfn = 0; /* A PCI Device and Function number */
u8 bridged_device = 0; /* This device is on a PCI bridge */
u32 i = 0;
@@ -132,7 +131,6 @@
if (int_pin < 1 || int_pin > 4)
continue; /* Device has invalid INT_PIN so skip it */
- bus = target_dev->bus->secondary;
devfn = target_dev->path.pci.devfn;
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/29942
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie239d067529f6cdea2bea5ae7327562ccb080196
Gerrit-Change-Number: 29942
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/7167e408/attachment.html>
More information about the coreboot-gerrit
mailing list