summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:49 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:49 -0400
commit9a1169f3d7d062f06ca826458d350b6e7edf5caa (patch)
tree371a2f58400cffeb2024cee860a6cb95ce8c44a2 /src
parent3d19bccb93207fc59065b20304ff47ff969e2f37 (diff)
downloadgem5-9a1169f3d7d062f06ca826458d350b6e7edf5caa.tar.xz
mem: Remove CoherentBus snoop port unused private member
This patch removes an unused member to avoid getting compiler warnings when using clang.
Diffstat (limited to 'src')
-rw-r--r--src/mem/coherent_bus.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mem/coherent_bus.hh b/src/mem/coherent_bus.hh
index 49f7ae698..4908ba034 100644
--- a/src/mem/coherent_bus.hh
+++ b/src/mem/coherent_bus.hh
@@ -232,9 +232,6 @@ class CoherentBus : public BaseBus
/** The port which we mirror internally. */
SlavePort& slavePort;
- /** The bus to which this port belongs. */
- CoherentBus &bus;
-
public:
/**
@@ -242,7 +239,7 @@ class CoherentBus : public BaseBus
*/
SnoopRespPort(SlavePort& slave_port, CoherentBus& _bus) :
MasterPort(slave_port.name() + ".snoopRespPort", &_bus),
- slavePort(slave_port), bus(_bus) { }
+ slavePort(slave_port) { }
/**
* Override the sending of retries and pass them on through