From: Gustavo F. Padovan <padovan@profusion.mobi>
Date: Fri, 17 Jun 2011 18:46:46 +0000 (-0300)
Subject: Bluetooth: Clean up unused struct hci_conn items
X-Git-Tag: firefly_0821_release~3680^2~4429^2~12^2~42^2~187^2~24
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8c1fbdb767f7487983b369a0b07ddc82b29f709;p=firefly-linux-kernel-4.4.55.git

Bluetooth: Clean up unused struct hci_conn items

priv and lock are never used

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
---

diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 26233d4d371c..90d81f9b19a2 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -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;