Skip to content

Commit

Permalink
Bluetooth: controller: Explicitly ignore return value
Browse files Browse the repository at this point in the history
Explicitly ignore return value from call to mayfly_enqueue.

Fixes zephyrproject-rtos#32917, zephyrproject-rtos#32961.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
  • Loading branch information
cvinayak committed May 19, 2021
1 parent 21d616c commit b6c822f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subsys/bluetooth/controller/ll_sw/ull_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,8 +1149,8 @@ static void target_resolve(struct k_work *work)
if (twork->cb) {
mfy.fp = twork->cb;
mfy.param = (void *) ((unsigned int) j);
mayfly_enqueue(TICKER_USER_ID_THREAD,
TICKER_USER_ID_LLL, 1, &mfy);
(void)mayfly_enqueue(TICKER_USER_ID_THREAD,
TICKER_USER_ID_LLL, 1, &mfy);
}
}

Expand Down Expand Up @@ -1219,8 +1219,8 @@ static void prpa_cache_resolve(struct k_work *work)
if (rwork->cb) {
mfy.fp = rwork->cb;
mfy.param = (void *) ((unsigned int) j);
mayfly_enqueue(TICKER_USER_ID_THREAD,
TICKER_USER_ID_LLL, 1, &mfy);
(void)mayfly_enqueue(TICKER_USER_ID_THREAD,
TICKER_USER_ID_LLL, 1, &mfy);
}
}

Expand Down

0 comments on commit b6c822f

Please sign in to comment.