summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2013-04-11 11:35:46 -0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-11 16:34:17 -0300
commit92f185c89f2e8f99cfc302994948e962828ccb23 (patch)
tree855839b2b67c72d59af73df371f633dd8e9096cf /net/bluetooth
parentc10cc5a9d46ba09111d4c2769207da4a80506885 (diff)
downloadlinux-92f185c89f2e8f99cfc302994948e962828ccb23.tar.bz2
Bluetooth: Minor coding style fix
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>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/sco.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index 18e3594f238c..d8836802526c 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -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);