summaryrefslogtreecommitdiff
path: root/src/mem/bus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/bus.cc')
-rw-r--r--src/mem/bus.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc
index db71b86b7..ce834515b 100644
--- a/src/mem/bus.cc
+++ b/src/mem/bus.cc
@@ -94,21 +94,6 @@ Bus::getPort(const std::string &if_name, int idx)
return bp;
}
-void
-Bus::deletePortRefs(Port *p)
-{
-
- BusPort *bp = dynamic_cast<BusPort*>(p);
- if (bp == NULL)
- panic("Couldn't convert Port* to BusPort*\n");
- // If this is our one functional port
- if (funcPort == bp)
- return;
- interfaces.erase(bp->getId());
- clearBusCache();
- delete bp;
-}
-
/** Get the ranges of anyone other buses that we are connected to. */
void
Bus::init()