From 3cfff8574a19536e2b3d057b43b59fcf35932c81 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 15 Apr 2019 23:29:57 -0700 Subject: python: Get rid of the VectorPort constructor. The only thing it was doing beyond calling the parent Port __init__ was to set isVec, and nobody actually looks at that value later. Change-Id: I567cb583e6f02a6c18504b9bb20dd13b3c934822 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18175 Tested-by: kokoro Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/python/m5/params.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/python/m5') diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 8b0a14af3..02f5e51b5 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -2115,11 +2115,6 @@ class ResponsePort(Port): # VectorPort description object. Like Port, but represents a vector # of connections (e.g., as on a XBar). class VectorPort(Port): - # VectorPort("role", "description") - def __init__(self, role, desc, is_source=False): - super(VectorPort, self).__init__(role, desc, is_source) - self.isVec = True - def makeRef(self, simobj): return VectorPortRef(simobj, self.name, self.role, self.is_source) -- cgit v1.2.3