summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2014-07-18 22:05:51 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2014-07-18 22:05:51 -0700
commitfe530648d50a4b87e808691d96a1fcfec89145e3 (patch)
tree50196cca71f7babaa6f5c77382cb9d9c282299b9 /src
parente3de6950a4a0f3dd3d3bea09f4282dfe6c8cf808 (diff)
downloadgem5-fe530648d50a4b87e808691d96a1fcfec89145e3.tar.xz
sim: remove unused MemoryModeStrings array
The System object has a static MemoryModeStrings array that's (1) unused and (2) redundant, since there's an auto-generated version in the Enums namespace. No point in leaving it in.
Diffstat (limited to 'src')
-rw-r--r--src/sim/system.cc3
-rw-r--r--src/sim/system.hh2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index e2bf0a3d2..88d2a1625 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -462,9 +462,6 @@ System::getMasterName(MasterID master_id)
return masterIds[master_id];
}
-const char *System::MemoryModeStrings[4] = {"invalid", "atomic", "timing",
- "atomic_noncaching"};
-
System *
SystemParams::create()
{
diff --git a/src/sim/system.hh b/src/sim/system.hh
index ecef2c4f2..5b68373a6 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -121,8 +121,6 @@ class System : public MemObject
BaseMasterPort& getMasterPort(const std::string &if_name,
PortID idx = InvalidPortID);
- static const char *MemoryModeStrings[4];
-
/** @{ */
/**
* Is the system in atomic mode?