changeset 9fd974959aa3 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9fd974959aa3
description:
        mem: Remove CoherentBus snoop port unused private member

        This patch removes an unused member to avoid getting compiler warnings
        when using clang.

diffstat:

 src/mem/coherent_bus.hh |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 68b47cb5c0a6 -r 9fd974959aa3 src/mem/coherent_bus.hh
--- a/src/mem/coherent_bus.hh   Thu Jun 27 05:49:49 2013 -0400
+++ b/src/mem/coherent_bus.hh   Thu Jun 27 05:49:49 2013 -0400
@@ -232,9 +232,6 @@
         /** The port which we mirror internally. */
         SlavePort& slavePort;
 
-        /** The bus to which this port belongs. */
-        CoherentBus &bus;
-
       public:
 
         /**
@@ -242,7 +239,7 @@
          */
         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
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to