Bluetooth: Minor coding style fix
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 11 Apr 2013 14:35:46 +0000 (11:35 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Apr 2013 19:34:17 +0000 (16:34 -0300)
This patch removes unneeded initialization and empty line.

Signed-off-by: Claudio Takahasi <claudio.takahasi@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/sco.c

index 18e3594f238c5ee81a54b568b3d9b53d73c9a621..d8836802526c05308e34ce92154e0f7c0c1b7628 100644 (file)
@@ -481,8 +481,7 @@ static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen
 {
        struct sockaddr_sco *sa = (struct sockaddr_sco *) addr;
        struct sock *sk = sock->sk;
-       int err = 0;
-
+       int err;
 
        BT_DBG("sk %p", sk);