diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-07 17:19:30 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-15 07:45:52 -0500 |
commit | c531a12ae63b6438a7859994aca23859f5706010 (patch) | |
tree | fc32fd04015270067db585207e91a26f5498ab4f /net/bluetooth/rfcomm | |
parent | 642745184f82688eb3ef0cdfaa4ba632055be9af (diff) |
Bluetooth: remove l2cap_load() hack
l2cap_load() was added to trigger l2cap.ko module loading from the RFCOMM
and BNEP modules. Now that L2CAP module is gone, we don't need it anymore.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/rfcomm')
-rw-r--r-- | net/bluetooth/rfcomm/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index 6b83776534fb..c9973932456f 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c | |||
@@ -2154,8 +2154,6 @@ static int __init rfcomm_init(void) | |||
2154 | { | 2154 | { |
2155 | int err; | 2155 | int err; |
2156 | 2156 | ||
2157 | l2cap_load(); | ||
2158 | |||
2159 | hci_register_cb(&rfcomm_cb); | 2157 | hci_register_cb(&rfcomm_cb); |
2160 | 2158 | ||
2161 | rfcomm_thread = kthread_run(rfcomm_run, NULL, "krfcommd"); | 2159 | rfcomm_thread = kthread_run(rfcomm_run, NULL, "krfcommd"); |