summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-25 13:34:51 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-03 13:32:31 +0000
commit95794693cb0270b63b9f209567313c2e052cce02 (patch)
tree51b98ccda248045e0499691e8391f3b0572dc089
parent99f1d5033591a28bf6b6a142adc24b285abc7870 (diff)
downloadcoreboot-95794693cb0270b63b9f209567313c2e052cce02.tar.xz
sb/nvidia/ck804: Remove variable set but not used
Change-Id: Ia8586e229e04fa11696a846653a3a54909ca7c1a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33007 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/southbridge/nvidia/ck804/ck804.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/southbridge/nvidia/ck804/ck804.c b/src/southbridge/nvidia/ck804/ck804.c
index 59796e1add..02d70a694d 100644
--- a/src/southbridge/nvidia/ck804/ck804.c
+++ b/src/southbridge/nvidia/ck804/ck804.c
@@ -58,9 +58,6 @@ static void ck804_enable(struct device *dev)
u32 reg_old, reg;
u8 byte;
- struct southbridge_nvidia_ck804_config *conf;
- conf = dev->chip_info;
-
if (dev->device == 0x0000) {
vendorid = pci_read_config32(dev, PCI_VENDOR_ID);
deviceid = (vendorid >> 16) & 0xffff;