Skip to content

Commit

Permalink
[examples] remove unneeded implementation otTaskletsSignalPending (o…
Browse files Browse the repository at this point in the history
…penthread#10849)

The implementation of `otTaskletsSignalPending` in
`examples/apps/<app>/main.c` is exactly the same as the weak
implementation in `tasklet_api.cpp`. No need to repeat it and blocking
other implementations of that function.
  • Loading branch information
thcu-gp authored Oct 21, 2024
1 parent 8806dbc commit 5bd9de5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions examples/apps/cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum,
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
#endif

void otTaskletsSignalPending(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); }

#if OPENTHREAD_POSIX && !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
static otError ProcessExit(void *aContext, uint8_t aArgsLength, char *aArgs[])
{
Expand Down
2 changes: 0 additions & 2 deletions examples/apps/ncp/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum,
OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); }
#endif

void otTaskletsSignalPending(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); }

int main(int argc, char *argv[])
{
otInstance *instance;
Expand Down

0 comments on commit 5bd9de5

Please sign in to comment.