aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-02-07 17:19:30 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-15 07:45:52 -0500
commitc531a12ae63b6438a7859994aca23859f5706010 (patch)
treefc32fd04015270067db585207e91a26f5498ab4f /net/bluetooth/l2cap_core.c
parent642745184f82688eb3ef0cdfaa4ba632055be9af (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/l2cap_core.c')
-rw-r--r--net/bluetooth/l2cap_core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 6f054d906c6..bd88641b4ae 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -3855,13 +3855,5 @@ void l2cap_exit(void)
3855 l2cap_cleanup_sockets(); 3855 l2cap_cleanup_sockets();
3856} 3856}
3857 3857
3858void l2cap_load(void)
3859{
3860 /* Dummy function to trigger automatic L2CAP module loading by
3861 * other modules that use L2CAP sockets but don't use any other
3862 * symbols from it. */
3863}
3864EXPORT_SYMBOL(l2cap_load);
3865
3866module_param(disable_ertm, bool, 0644); 3858module_param(disable_ertm, bool, 0644);
3867MODULE_PARM_DESC(disable_ertm, "Disable enhanced retransmission mode"); 3859MODULE_PARM_DESC(disable_ertm, "Disable enhanced retransmission mode");