]> Pileus Git - ~andy/linux/blobdiff - drivers/uwb/beacon.c
ext4: More buffer head reference leaks
[~andy/linux] / drivers / uwb / beacon.c
index 0315093e221676cce2ad730561db1bffb02f2344..36bc3158006f5e21012e0d79af888ff27605c99b 100644 (file)
@@ -289,8 +289,6 @@ void uwb_beca_purge(struct uwb_rc *rc)
                expires = bce->ts_jiffies + msecs_to_jiffies(beacon_timeout_ms);
                if (time_after(jiffies, expires)) {
                        uwbd_dev_offair(bce);
-                       list_del(&bce->node);
-                       uwb_bce_put(bce);
                }
        }
        mutex_unlock(&rc->uwb_beca.mutex);