summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/core/port.hh11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/systemc/core/port.hh b/src/systemc/core/port.hh
index b9f070ffb..203bafb86 100644
--- a/src/systemc/core/port.hh
+++ b/src/systemc/core/port.hh
@@ -67,17 +67,8 @@ class Port
void
addInterface(::sc_core::sc_interface *iface)
{
- for (int i = 0; i < _size; i++) {
- if (getInterface(i) == iface) {
- std::string msg =
- csprintf("interface already bound to port: port '%s' (%s)",
- portBase->name(), portBase->kind());
- SC_REPORT_ERROR("(E107) bind interface to port failed",
- msg.c_str());
- }
- }
- _size++;
portBase->_gem5AddInterface(iface);
+ _size++;
}
void