From 5d7958ef3be34590dd1a2d410ec96bb590541b65 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;