Skip to content

Commit

Permalink
remove unnecessary static cast (#12751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored and pull[bot] committed Feb 17, 2022
1 parent 22b39fb commit 5792a18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
}
}

err = encoder.Encode(static_cast<uint8_t>(routingRole));
err = encoder.Encode(routingRole);
}
break;

Expand Down

0 comments on commit 5792a18

Please sign in to comment.