]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove export of l2cap_chan_clear_timer()
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 4 May 2011 22:35:27 +0000 (19:35 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:16 +0000 (16:58 -0300)
commit48890e47318945ea40a3e47af7e6054f7e25acfa
tree458c7da09d366e37f133ef131b56e8dbdb6c2211
parent0e2381b012bb006d8351481f432eb41c438bfc46
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>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c