summaryrefslogtreecommitdiff
path: root/src/mem/bus.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-05-30 05:31:11 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-05-30 05:31:11 -0400
commitb8cf48accc611a09314454d1573ee531f2770264 (patch)
treef18b58416468a7e26fb0669bba98567932decfe9 /src/mem/bus.hh
parent5880fbe96dea23c7b036e2ff9c7dcb4d206402ad (diff)
downloadgem5-b8cf48accc611a09314454d1573ee531f2770264.tar.xz
Bus: Remove redundant packet parameter from isOccupied
This patch merely remove the Packet* from the isOccupied member function. Historically this was used to check if the packet was an express snoop, but this is now done outside this function (where relevant).
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r--src/mem/bus.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh
index dc5051fc2..c35b46cc2 100644
--- a/src/mem/bus.hh
+++ b/src/mem/bus.hh
@@ -259,12 +259,11 @@ class Bus : public MemObject
* presented with a packet from a specific port. If so, the port
* in question is also added to the retry list.
*
- * @param pkt Incoming packet
* @param port Source port on the bus presenting the packet
*
* @return True if the bus is to be considered occupied
*/
- bool isOccupied(PacketPtr pkt, Port* port);
+ bool isOccupied(Port* port);
/**
* Deal with a destination port accepting a packet by potentially