Skip to content

Commit

Permalink
bluetooth: controller: Fix for coverity CID 203524
Browse files Browse the repository at this point in the history
Fixes coverity issue: [Coverity CID :203524] Incorrect expression in
/subsys/bluetooth/controller/ticker/ticker.c #18382

Signed-off-by: Morten Priess <mtpr@oticon.com>
  • Loading branch information
mtpr-ot authored and aescolar committed Aug 19, 2019
1 parent f7a4275 commit c635f4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions subsys/bluetooth/controller/ticker/ticker.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,7 @@ static u8_t ticker_enqueue(struct ticker_instance *instance, u8_t id)
node = &instance->nodes[0];
ticker_new = &node[id];
ticks_to_expire = ticker_new->ticks_to_expire;

current = instance->ticker_id_head;
previous = current;

/* Find insertion point for new ticker node and adjust ticks_to_expire
* relative to insertion point
Expand Down

0 comments on commit c635f4c

Please sign in to comment.