From b618b04992158fd86ac96e725225e095b74acf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 20 Mar 2019 10:24:11 +0200 Subject: sb/amd8111: Drop unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2b1f46865aa380c2a31e05e55418b27296c72136 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/31988 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/amd/amd8111/usb2.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') diff --git a/src/southbridge/amd/amd8111/usb2.c b/src/southbridge/amd/amd8111/usb2.c index 5d0d6638bf..adb7db184c 100644 --- a/src/southbridge/amd/amd8111/usb2.c +++ b/src/southbridge/amd/amd8111/usb2.c @@ -21,21 +21,6 @@ #include #include "amd8111.h" -#if 0 - -static void lpci_set_subsystem(struct device *dev, unsigned int vendor, - unsigned int device) -{ - pci_write_config32(dev, 0x70, - ((device & 0xffff) << 16) | (vendor & 0xffff)); -} - -static struct pci_operations lops_pci = { - .set_subsystem = lpci_set_subsystem, -}; - -#endif - static void amd8111_usb2_enable(struct device *dev) { // Due to buggy USB2 we force it to disable. @@ -50,7 +35,6 @@ static struct device_operations usb2_ops = { .enable_resources = pci_dev_enable_resources, .scan_bus = 0, .enable = amd8111_usb2_enable, - // .ops_pci = &lops_pci, }; static const struct pci_driver usb2_driver __pci_driver = { -- cgit v1.2.3