Bluetooth: introduce hci_conn ref-counting
[cascardo/linux.git] / net / bluetooth / hci_sysfs.c
index ff38561..6fe15c8 100644 (file)
@@ -146,7 +146,6 @@ void hci_conn_del_sysfs(struct hci_conn *conn)
        }
 
        device_del(&conn->dev);
-       put_device(&conn->dev);
 
        hci_dev_put(hdev);
 }