diff options
Diffstat (limited to 'drivers/uwb/beacon.c')
-rw-r--r-- | drivers/uwb/beacon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/uwb/beacon.c b/drivers/uwb/beacon.c index 0315093e2216..36bc3158006f 100644 --- a/drivers/uwb/beacon.c +++ b/drivers/uwb/beacon.c | |||
@@ -289,8 +289,6 @@ void uwb_beca_purge(struct uwb_rc *rc) | |||
289 | expires = bce->ts_jiffies + msecs_to_jiffies(beacon_timeout_ms); | 289 | expires = bce->ts_jiffies + msecs_to_jiffies(beacon_timeout_ms); |
290 | if (time_after(jiffies, expires)) { | 290 | if (time_after(jiffies, expires)) { |
291 | uwbd_dev_offair(bce); | 291 | uwbd_dev_offair(bce); |
292 | list_del(&bce->node); | ||
293 | uwb_bce_put(bce); | ||
294 | } | 292 | } |
295 | } | 293 | } |
296 | mutex_unlock(&rc->uwb_beca.mutex); | 294 | mutex_unlock(&rc->uwb_beca.mutex); |