mem-ruby: Remove unused variables/mark [maybe unused] (#1650)

PR gem5#1453 left some unused variables in the ruby code that triggered
"unused variable" warnings found comiling ALL/gem5.opt to use the CHI
protocol. These have been removed.
This commit is contained in:
Bobby R. Bruce
2024-10-29 14:31:20 -07:00
committed by GitHub
parent 1442a4dccd
commit d8e7c91127
2 changed files with 1 additions and 6 deletions

View File

@@ -66,8 +66,7 @@ class Message
: m_block_size(block_size),
m_time(curTime),
m_LastEnqueueTime(curTime),
m_DelayedTicks(0), m_msg_counter(0),
p_ruby_system(rs)
m_DelayedTicks(0), m_msg_counter(0)
{ }
Message(const Message &other) = default;
@@ -135,9 +134,6 @@ class Message
// Variables for required network traversal
int incoming_link;
int vnet;
// Needed to call MacheinType_base_count/level
const RubySystem *p_ruby_system = nullptr;
};
inline bool

View File

@@ -51,7 +51,6 @@ class BankedArray
Tick clockPeriod = 0;
unsigned int bankBits;
unsigned int startIndexBit;
RubySystem *m_ruby_system;
class AccessRecord
{