diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-27 07:23:07 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 11:42:47 -0400 |
commit | b10e8017bd9d02a3c7975c06d8fa2fc39df1731c (patch) | |
tree | 9abb0e5a43f7aaa7b64c1edfb23cb6fafea5b1a9 /include | |
parent | 642ac7745a45904d2a7c2463a3a3e60dc097be04 (diff) |
Bluetooth: Remove unnecessary hcon->smp_conn variable
The smp_conn member of struct hci_conn was simply a pointer to the
l2cap_conn object. Since we already have hcon->l2cap_data that points to
the same thing there's no need to have this second variable. This patch
removes it and changes the single place that was using it to use
hcon->l2cap_data instead.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index dda7f00c07c5..ca2a99807615 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -409,7 +409,6 @@ struct hci_conn { | |||
409 | struct hci_dev *hdev; | 409 | struct hci_dev *hdev; |
410 | void *l2cap_data; | 410 | void *l2cap_data; |
411 | void *sco_data; | 411 | void *sco_data; |
412 | void *smp_conn; | ||
413 | struct amp_mgr *amp_mgr; | 412 | struct amp_mgr *amp_mgr; |
414 | 413 | ||
415 | struct hci_conn *link; | 414 | struct hci_conn *link; |