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)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:13 +0000 (11:59 -0700)
commit1eb5ad7859c58ad6ba073860f57989048f2e2dfe
treeec35ed2d4499fd49fca75177aed0e8c4f00d3b9d
parent13003e04ed891cdfa52ccc7023867c896e1ca611
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