Bluetooth: Remove unneeded uninitialized_vars()
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 4 Apr 2011 19:00:55 +0000 (16:00 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 15:19:58 +0000 (12:19 -0300)
That was unnecessary use of it.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c

index 0edfa658090a6b8730862f324a4e3c83062d998e..5fc852a9ae597ca1e4d516f588d592862891ccae 100644 (file)
@@ -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("");