diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-04 19:35:27 -0300 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:13 -0700 |
commit | 1eb5ad7859c58ad6ba073860f57989048f2e2dfe (patch) | |
tree | ec35ed2d4499fd49fca75177aed0e8c4f00d3b9d /include/net/bluetooth | |
parent | 13003e04ed891cdfa52ccc7023867c896e1ca611 (diff) | |
download | kernel_samsung_espresso10-1eb5ad7859c58ad6ba073860f57989048f2e2dfe.zip kernel_samsung_espresso10-1eb5ad7859c58ad6ba073860f57989048f2e2dfe.tar.gz kernel_samsung_espresso10-1eb5ad7859c58ad6ba073860f57989048f2e2dfe.tar.bz2 |
Bluetooth: Remove export of l2cap_chan_clear_timer()
The call to l2cap_chan_clear_timer() is not really needed in l2cap_sock.c.
This patch also adds a call to l2cap_chan_clear_timer() to the only place
in __l2cap_sock_close() that wasn't calling it. It's safe call it there
because l2cap_chan_clear_timer() check first for timer_peding().
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index efb1fc4..1c89c7f 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -463,7 +463,6 @@ void l2cap_sock_init(struct sock *sk, struct sock *parent); struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio); -void l2cap_chan_clear_timer(struct l2cap_chan *chan); struct l2cap_chan *l2cap_chan_create(struct sock *sk); void __l2cap_chan_close(struct l2cap_chan *chan, int reason); void l2cap_chan_destroy(struct l2cap_chan *chan); |