summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-05-04 14:14:38 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:00:48 +0000
commitea4d692d57b285382832e522a9ea06ca2d3a8759 (patch)
treeb03fb781eb9ae04430de2105cacccc4fd00eb9ec /src
parent42ff2c05d9af3e21345d5b1b4719167d219088c7 (diff)
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 <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/26054 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/device/pci_ops.c7
1 files changed, 0 insertions, 7 deletions
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 <device/pci_ids.h>
#include <device/pci_ops.h>
-/* 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;