From ea4d692d57b285382832e522a9ea06ca2d3a8759 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 4 May 2018 14:14:38 +0200 Subject: device/pci_ops: Remove unnecessary weak implementation I doubt this is or will ever be referenced anywhere. And if, we probably shouldn't return. Change-Id: I3704fec694c5e5a9d5ff7d78d8bf2f23cf463e3c Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/26054 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/device/pci_ops.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/device/pci_ops.c b/src/device/pci_ops.c index 6d88209027..202a9cd410 100644 --- a/src/device/pci_ops.c +++ b/src/device/pci_ops.c @@ -20,13 +20,6 @@ #include #include -/* Overwrite with architecture specific method */ -const struct pci_bus_operations __attribute__((weak)) -*pci_bus_default_ops(struct device *dev) -{ - return NULL; -} - static const struct pci_bus_operations *pci_bus_ops(struct bus *bus, struct device *dev) { const struct pci_bus_operations *bops; -- cgit v1.2.3