<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26054">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">device/pci_ops: Remove unnecessary weak implementation<br><br>I doubt this is or will ever be referenced anywhere. And if, we<br>probably shouldn't return.<br><br>Change-Id: I3704fec694c5e5a9d5ff7d78d8bf2f23cf463e3c<br>Signed-off-by: Nico Huber <nico.huber@secunet.com><br>---<br>M src/device/pci_ops.c<br>1 file changed, 0 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/26054/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/device/pci_ops.c b/src/device/pci_ops.c</span><br><span>index 6d88209..202a9cd 100644</span><br><span>--- a/src/device/pci_ops.c</span><br><span>+++ b/src/device/pci_ops.c</span><br><span>@@ -20,13 +20,6 @@</span><br><span> #include <device/pci_ids.h></span><br><span> #include <device/pci_ops.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* Overwrite with architecture specific method */</span><br><span style="color: hsl(0, 100%, 40%);">-const struct pci_bus_operations __attribute__((weak))</span><br><span style="color: hsl(0, 100%, 40%);">-*pci_bus_default_ops(struct device *dev)</span><br><span style="color: hsl(0, 100%, 40%);">-{</span><br><span style="color: hsl(0, 100%, 40%);">-     return NULL;</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> static const struct pci_bus_operations *pci_bus_ops(struct bus *bus, struct device *dev)</span><br><span> {</span><br><span>       const struct pci_bus_operations *bops;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26054">change 26054</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/26054"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I3704fec694c5e5a9d5ff7d78d8bf2f23cf463e3c </div>
<div style="display:none"> Gerrit-Change-Number: 26054 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>