From 280a29d5bb5ea53ae92380a95cf8eb4543f96749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 25 Feb 2015 10:30:42 +0200 Subject: devicetree: Drop redundant scan_bus() ops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If96e0843f507b9f1db9977b5d0c47f5ed1c59999 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/8533 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/northbridge/intel/i3100/northbridge.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/northbridge/intel') diff --git a/src/northbridge/intel/i3100/northbridge.c b/src/northbridge/intel/i3100/northbridge.c index 2cf5ae1d58..ab40e56898 100644 --- a/src/northbridge/intel/i3100/northbridge.c +++ b/src/northbridge/intel/i3100/northbridge.c @@ -132,18 +132,12 @@ static void pci_domain_set_resources(device_t dev) assign_resources(dev->link_list); } -static u32 i3100_domain_scan_bus(device_t dev, u32 max) -{ - max_bus = pci_domain_scan_bus(dev, max); - return max_bus; -} - static struct device_operations pci_domain_ops = { .read_resources = pci_domain_read_resources, .set_resources = pci_domain_set_resources, .enable_resources = NULL, .init = NULL, - .scan_bus = i3100_domain_scan_bus, + .scan_bus = pci_domain_scan_bus, .ops_pci_bus = pci_bus_default_ops, }; -- cgit v1.2.3