diff --git a/src/config_passthrough.cpp b/src/config_passthrough.cpp index 94401e0d..cb730f7c 100644 --- a/src/config_passthrough.cpp +++ b/src/config_passthrough.cpp @@ -27,20 +27,6 @@ Passthrough::to_string() const BE_Passthrough x = BE_Passthrough::_from_integral(_data); return x._to_string(); - - switch(_data) - { - case Passthrough::ENUM::OFF: - return "off"; - case Passthrough::ENUM::RO: - return "ro"; - case Passthrough::ENUM::WO: - return "wo"; - case Passthrough::ENUM::RW: - return "rw"; - } - - return "invalid"; } template<>