From 5792a18caf4e9c754403e052e23fb6b0b74144b5 Mon Sep 17 00:00:00 2001 From: jmartinez-silabs <67972863+jmartinez-silabs@users.noreply.github.com> Date: Wed, 8 Dec 2021 21:32:32 -0500 Subject: [PATCH] remove unnecessary static cast (#12751) --- .../OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp index 831ea9de87b3d1..ac309d1aa2f1de 100644 --- a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp +++ b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp @@ -863,7 +863,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread::_WriteThreadNetw } } - err = encoder.Encode(static_cast(routingRole)); + err = encoder.Encode(routingRole); } break;