Bluetooth: Clean up unused struct hci_conn items
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 17 Jun 2011 18:46:46 +0000 (15:46 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 1 Jul 2011 19:10:06 +0000 (16:10 -0300)
priv and lock are never used

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h

index 26233d4d371c2681c67a1168130671125441e1c1..90d81f9b19a2cc60d8bc1be09877fa91d3ff44a2 100644 (file)
@@ -223,7 +223,6 @@ struct hci_conn {
        struct list_head list;
 
        atomic_t        refcnt;
-       spinlock_t      lock;
 
        bdaddr_t        dst;
        __u8            dst_type;
@@ -272,7 +271,6 @@ struct hci_conn {
        struct hci_dev  *hdev;
        void            *l2cap_data;
        void            *sco_data;
-       void            *priv;
 
        struct hci_conn *link;