From c635f4cb6d56492620114ade116c9b85b20bb9e6 Mon Sep 17 00:00:00 2001 From: Morten Priess Date: Mon, 19 Aug 2019 08:39:50 +0200 Subject: [PATCH] bluetooth: controller: Fix for coverity CID 203524 Fixes coverity issue: [Coverity CID :203524] Incorrect expression in /subsys/bluetooth/controller/ticker/ticker.c #18382 Signed-off-by: Morten Priess --- subsys/bluetooth/controller/ticker/ticker.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/subsys/bluetooth/controller/ticker/ticker.c b/subsys/bluetooth/controller/ticker/ticker.c index 8cdba972ccf..d7b9936011e 100644 --- a/subsys/bluetooth/controller/ticker/ticker.c +++ b/subsys/bluetooth/controller/ticker/ticker.c @@ -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