summaryrefslogtreecommitdiff
path: root/src/components/protocol/src/service_type.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol/src/service_type.cc')
-rw-r--r--src/components/protocol/src/service_type.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/protocol/src/service_type.cc b/src/components/protocol/src/service_type.cc
index e6417b07d0..b1674e10d8 100644
--- a/src/components/protocol/src/service_type.cc
+++ b/src/components/protocol/src/service_type.cc
@@ -63,9 +63,4 @@ ServiceType ServiceTypeFromByte(uint8_t byte) {
return valid_type ? type : kInvalidServiceType;
}
-uint8_t ServiceTypeToByte(ServiceType type) {
- DCHECK(IsValid(type));
- return uint8_t(type);
-}
-
} // namespace protocol_handler