From d23f275aa1a1c71391070b40201453026591d937 Mon Sep 17 00:00:00 2001 From: Jonathan Kollasch Date: Thu, 28 Oct 2010 19:57:52 +0000 Subject: The no point in having a non-NULL ops_pci pointer when the set_subsystem operation within is NULL anyway. Signed-off-by: Jonathan Kollasch Acked-by: Jonathan Kollasch git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/nvidia/ck804/ck804_pci.c | 5 ----- src/southbridge/nvidia/ck804/ck804_pcie.c | 5 ----- 2 files changed, 10 deletions(-) (limited to 'src/southbridge/nvidia') diff --git a/src/southbridge/nvidia/ck804/ck804_pci.c b/src/southbridge/nvidia/ck804/ck804_pci.c index 4a3cce5867..044c7100d4 100644 --- a/src/southbridge/nvidia/ck804/ck804_pci.c +++ b/src/southbridge/nvidia/ck804/ck804_pci.c @@ -78,10 +78,6 @@ static void pci_init(struct device *dev) pci_write_config32(dev, 0x50, dword); /* TOM */ } -static struct pci_operations lops_pci = { - .set_subsystem = 0, -}; - static struct device_operations pci_ops = { .read_resources = pci_bus_read_resources, .set_resources = pci_dev_set_resources, @@ -89,7 +85,6 @@ static struct device_operations pci_ops = { .init = pci_init, .scan_bus = pci_scan_bridge, // .enable = ck804_enable, - .ops_pci = &lops_pci, }; static const struct pci_driver pci_driver __pci_driver = { diff --git a/src/southbridge/nvidia/ck804/ck804_pcie.c b/src/southbridge/nvidia/ck804/ck804_pcie.c index 525b6e94a2..cbde9cf57c 100644 --- a/src/southbridge/nvidia/ck804/ck804_pcie.c +++ b/src/southbridge/nvidia/ck804/ck804_pcie.c @@ -36,10 +36,6 @@ static void pcie_init(struct device *dev) pci_write_config32(dev, 0x04, dword); } -static struct pci_operations lops_pci = { - .set_subsystem = 0, -}; - static struct device_operations pcie_ops = { .read_resources = pci_bus_read_resources, .set_resources = pci_dev_set_resources, @@ -47,7 +43,6 @@ static struct device_operations pcie_ops = { .init = pcie_init, .scan_bus = pci_scan_bridge, // .enable = ck804_enable, - .ops_pci = &lops_pci, }; static const struct pci_driver pcie_driver __pci_driver = { -- cgit v1.2.3