Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237389
b: refs/heads/master
c: c531a12
h: refs/heads/master
i:
  237387: 8960d9d
v: v3
  • Loading branch information
Gustavo F. Padovan committed Feb 15, 2011
1 parent a190e1c commit 6e7922e
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 642745184f82688eb3ef0cdfaa4ba632055be9af
refs/heads/master: c531a12ae63b6438a7859994aca23859f5706010
2 changes: 0 additions & 2 deletions trunk/include/net/bluetooth/l2cap.h
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,4 @@ void l2cap_send_disconn_req(struct l2cap_conn *conn, struct sock *sk, int err);
void l2cap_chan_del(struct sock *sk, int err);
int l2cap_do_connect(struct sock *sk);

void l2cap_load(void);

#endif /* __L2CAP_H */
2 changes: 0 additions & 2 deletions trunk/net/bluetooth/bnep/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,6 @@ static int __init bnep_init(void)
{
char flt[50] = "";

l2cap_load();

#ifdef CONFIG_BT_BNEP_PROTO_FILTER
strcat(flt, "protocol ");
#endif
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/bluetooth/cmtp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ int cmtp_get_conninfo(struct cmtp_conninfo *ci)

static int __init cmtp_init(void)
{
l2cap_load();

BT_INFO("CMTP (CAPI Emulation) ver %s", VERSION);

cmtp_init_sockets();
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/bluetooth/hidp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,8 +1019,6 @@ static int __init hidp_init(void)
{
int ret;

l2cap_load();

BT_INFO("HIDP (Human Interface Emulation) ver %s", VERSION);

ret = hid_register_driver(&hidp_driver);
Expand Down
8 changes: 0 additions & 8 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3855,13 +3855,5 @@ void l2cap_exit(void)
l2cap_cleanup_sockets();
}

void l2cap_load(void)
{
/* Dummy function to trigger automatic L2CAP module loading by
* other modules that use L2CAP sockets but don't use any other
* symbols from it. */
}
EXPORT_SYMBOL(l2cap_load);

module_param(disable_ertm, bool, 0644);
MODULE_PARM_DESC(disable_ertm, "Disable enhanced retransmission mode");
2 changes: 0 additions & 2 deletions trunk/net/bluetooth/rfcomm/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2154,8 +2154,6 @@ static int __init rfcomm_init(void)
{
int err;

l2cap_load();

hci_register_cb(&rfcomm_cb);

rfcomm_thread = kthread_run(rfcomm_run, NULL, "krfcommd");
Expand Down

0 comments on commit 6e7922e

Please sign in to comment.