diff options
author | 2011-02-04 03:23:31 -0200 | |
---|---|---|
committer | 2011-02-08 01:43:31 -0200 | |
commit | 6ddc0485e1a6ecd450140ea40ffa52786f99183c (patch) | |
tree | 77f021e9eb4632c7df1a87978283d6716f731d7f /net/bluetooth/l2cap_core.c | |
parent | Bluetooth: move l2cap_sock_sendmsg() to l2cap_sock.c (diff) | |
download | linux-dev-6ddc0485e1a6ecd450140ea40ffa52786f99183c.tar.xz linux-dev-6ddc0485e1a6ecd450140ea40ffa52786f99183c.zip |
Bluetooth: move L2CAP sock timers function to l2cap_sock.c
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index da9b3a44b0f0..12abd7ca2825 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -77,19 +77,6 @@ static struct sk_buff *l2cap_build_cmd(struct l2cap_conn *conn, static int l2cap_ertm_data_rcv(struct sock *sk, struct sk_buff *skb); -/* ---- L2CAP timers ---- */ -void l2cap_sock_set_timer(struct sock *sk, long timeout) -{ - BT_DBG("sk %p state %d timeout %ld", sk, sk->sk_state, timeout); - sk_reset_timer(sk, &sk->sk_timer, jiffies + timeout); -} - -void l2cap_sock_clear_timer(struct sock *sk) -{ - BT_DBG("sock %p state %d", sk, sk->sk_state); - sk_stop_timer(sk, &sk->sk_timer); -} - /* ---- L2CAP channels ---- */ static struct sock *__l2cap_get_chan_by_dcid(struct l2cap_chan_list *l, u16 cid) { |