diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-06-27 05:49:49 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-06-27 05:49:49 -0400 |
commit | 9a1169f3d7d062f06ca826458d350b6e7edf5caa (patch) | |
tree | 371a2f58400cffeb2024cee860a6cb95ce8c44a2 | |
parent | 3d19bccb93207fc59065b20304ff47ff969e2f37 (diff) | |
download | gem5-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.
-rw-r--r-- | src/mem/coherent_bus.hh | 5 |
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 |