From: Andreas Hansson Date: Thu, 27 Jun 2013 09:49:49 +0000 (-0400) Subject: mem: Remove CoherentBus snoop port unused private member X-Git-Tag: stable_2013_10_14~26 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a1169f3d7d062f06ca826458d350b6e7edf5caa;p=gem5.git mem: Remove CoherentBus snoop port unused private member This patch removes an unused member to avoid getting compiler warnings when using clang. --- 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