summaryrefslogtreecommitdiff
path: root/src/mem/port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/port.hh')
-rw-r--r--src/mem/port.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/port.hh b/src/mem/port.hh
index 32f331433..4adf8f4cd 100644
--- a/src/mem/port.hh
+++ b/src/mem/port.hh
@@ -127,9 +127,7 @@ class Port
* demise. */
void removeConn();
- virtual bool isDefaultPort() const { return false; }
-
- bool isConnected() { return peer && !peer->isDefaultPort(); }
+ bool isConnected() { return peer != NULL; }
protected: