summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-08-18 19:33:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-09-08 19:07:54 +0200
commitb04afa0c280b7e7ced88692251d75a78c8fcb2a7 (patch)
tree1f4f5dba401f75769f0d9d80669c36b9031dd133 /include/net/bluetooth/l2cap.h
parentBluetooth: Use hci_disconnect for immediate disconnection from SMP (diff)
downloadlinux-b04afa0c280b7e7ced88692251d75a78c8fcb2a7.tar.xz
linux-b04afa0c280b7e7ced88692251d75a78c8fcb2a7.zip
Bluetooth: Remove unused l2cap_conn_shutdown API
Now that there are no more users of the l2cap_conn_shutdown API (since smp.c switched to using hci_disconnect) we can simply remove it along with all of it's l2cap_conn variables. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 8f1652ed3326..be25eddea615 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -625,9 +625,6 @@ struct l2cap_conn {
struct delayed_work info_timer;
- int disconn_err;
- struct work_struct disconn_work;
-
struct sk_buff *rx_skb;
__u32 rx_len;
__u8 tx_ident;
@@ -947,7 +944,6 @@ void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan,
u8 status);
void __l2cap_physical_cfm(struct l2cap_chan *chan, int result);
-void l2cap_conn_shutdown(struct l2cap_conn *conn, int err);
struct l2cap_conn *l2cap_conn_get(struct l2cap_conn *conn);
void l2cap_conn_put(struct l2cap_conn *conn);