Skip to content

Commit

Permalink
Bluetooth: Remove unneeded uninitialized_vars()
Browse files Browse the repository at this point in the history
That was unnecessary use of it.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Apr 13, 2011
1 parent 49208c9 commit c916fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ static struct sock *l2cap_get_sock_by_scid(int state, __le16 cid, bdaddr_t *src)

static void l2cap_le_conn_ready(struct l2cap_conn *conn)
{
struct sock *parent, *uninitialized_var(sk);
struct sock *parent, *sk;
struct l2cap_chan *chan;

BT_DBG("");
Expand Down

0 comments on commit c916fbe

Please sign in to comment.