From 9a1169f3d7d062f06ca826458d350b6e7edf5caa Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 27 Jun 2013 05:49:49 -0400 Subject: mem: Remove CoherentBus snoop port unused private member This patch removes an unused member to avoid getting compiler warnings when using clang. --- src/mem/coherent_bus.hh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mem') 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 -- cgit v1.2.3