diff options
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 4f3bc741183c..a86f9ba4f05c 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -3755,7 +3755,7 @@ done: | |||
3755 | 3755 | ||
3756 | static inline int l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, struct sk_buff *skb) | 3756 | static inline int l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, struct sk_buff *skb) |
3757 | { | 3757 | { |
3758 | struct sock *sk; | 3758 | struct sock *sk = NULL; |
3759 | struct l2cap_chan *chan; | 3759 | struct l2cap_chan *chan; |
3760 | 3760 | ||
3761 | chan = l2cap_global_chan_by_psm(0, psm, conn->src); | 3761 | chan = l2cap_global_chan_by_psm(0, psm, conn->src); |
@@ -3788,7 +3788,7 @@ done: | |||
3788 | 3788 | ||
3789 | static inline int l2cap_att_channel(struct l2cap_conn *conn, __le16 cid, struct sk_buff *skb) | 3789 | static inline int l2cap_att_channel(struct l2cap_conn *conn, __le16 cid, struct sk_buff *skb) |
3790 | { | 3790 | { |
3791 | struct sock *sk; | 3791 | struct sock *sk = NULL; |
3792 | struct l2cap_chan *chan; | 3792 | struct l2cap_chan *chan; |
3793 | 3793 | ||
3794 | chan = l2cap_global_chan_by_scid(0, cid, conn->src); | 3794 | chan = l2cap_global_chan_by_scid(0, cid, conn->src); |