mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
Bluetooth: L2CAP: remove unused l2cap_chan_close()
l2cap_chan_close() is now unused, and l2cap_chan_close_unlocked() should be used instead. Remove l2cap_chan_close(). Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
a69dd52612
commit
5ccdbf71f1
|
|
@ -961,7 +961,6 @@ int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
|
|||
int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid);
|
||||
|
||||
struct l2cap_chan *l2cap_chan_create(void);
|
||||
void l2cap_chan_close(struct l2cap_chan *chan, int reason);
|
||||
void l2cap_chan_close_unlocked(struct l2cap_chan *chan, int reason)
|
||||
__must_not_hold(&chan->lock);
|
||||
int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
|
||||
|
|
|
|||
|
|
@ -880,12 +880,6 @@ static void __l2cap_chan_close(struct l2cap_chan *chan, int reason)
|
|||
}
|
||||
}
|
||||
|
||||
void l2cap_chan_close(struct l2cap_chan *chan, int reason)
|
||||
{
|
||||
__l2cap_chan_close(chan, reason);
|
||||
}
|
||||
EXPORT_SYMBOL(l2cap_chan_close);
|
||||
|
||||
/* Take chan->lock. If chan->conn is non-NULL, take new reference on it, take
|
||||
* chan->conn->lock, and return true. Otherwise return false.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user