summaryrefslogtreecommitdiff
path: root/src/components/protocol/src/rpc_type.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol/src/rpc_type.cc')
-rw-r--r--src/components/protocol/src/rpc_type.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/protocol/src/rpc_type.cc b/src/components/protocol/src/rpc_type.cc
index fb9845d148..0e2edb34e8 100644
--- a/src/components/protocol/src/rpc_type.cc
+++ b/src/components/protocol/src/rpc_type.cc
@@ -62,11 +62,6 @@ RpcType RpcTypeFromByte(uint8_t byte) {
return supported_type ? type : kRpcTypeReserved;
}
-uint8_t RpcTypeToByte(RpcType type) {
- DCHECK(IsSupported(type));
- return uint8_t(type);
-}
-
const char* RpcTypeToString(RpcType type) {
switch (type) {
case kRpcTypeRequest: