summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-04 16:00:55 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-13 12:19:58 -0300
commitc916fbe45c1f30417fa28e62cbbfae295a3f315c (patch)
tree60d8e1b804ac43c5dc83fe3699c412ad0280cf8e /net/bluetooth
parent49208c9c7b483098401683fef5cfbd66931ca643 (diff)
downloadlinux-c916fbe45c1f30417fa28e62cbbfae295a3f315c.tar.bz2
Bluetooth: Remove unneeded uninitialized_vars()
That was unnecessary use of it. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 0edfa658090a..5fc852a9ae59 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -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("");