summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/protocol/RubySlicc_Exports.sm3
-rw-r--r--src/mem/ruby/network/Network.cc3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/protocol/RubySlicc_Exports.sm b/src/mem/protocol/RubySlicc_Exports.sm
index e0371f896..4162800c5 100644
--- a/src/mem/protocol/RubySlicc_Exports.sm
+++ b/src/mem/protocol/RubySlicc_Exports.sm
@@ -169,8 +169,7 @@ enumeration(MemoryControlRequestType, desc="...", default="MemoryControlRequestT
}
// MessageSizeType
-enumeration(MessageSizeType, default="MessageSizeType_Undefined", desc="...") {
- Undefined, desc="Undefined";
+enumeration(MessageSizeType, desc="...") {
Control, desc="Control Message";
Data, desc="Data Message";
Request_Control, desc="Request";
diff --git a/src/mem/ruby/network/Network.cc b/src/mem/ruby/network/Network.cc
index c90f27c35..d39e6e1e8 100644
--- a/src/mem/ruby/network/Network.cc
+++ b/src/mem/ruby/network/Network.cc
@@ -71,9 +71,6 @@ uint32_t
Network::MessageSizeType_to_int(MessageSizeType size_type)
{
switch(size_type) {
- case MessageSizeType_Undefined:
- panic("Can't convert Undefined MessageSizeType to integer");
- break;
case MessageSizeType_Control:
case MessageSizeType_Request_Control:
case MessageSizeType_Reissue_Control: