diff options
Diffstat (limited to 'src/components/protocol/src/rpc_type.cc')
-rw-r--r-- | src/components/protocol/src/rpc_type.cc | 5 |
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: |