summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/sco.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2013-04-11 16:35:46 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-11 21:34:17 +0200
commit92f185c89f2e8f99cfc302994948e962828ccb23 (patch)
tree855839b2b67c72d59af73df371f633dd8e9096cf /net/bluetooth/sco.c
parentBluetooth: Use GFP_KERNEL in sco_conn_add (diff)
downloadlinux-92f185c89f2e8f99cfc302994948e962828ccb23.tar.xz
linux-92f185c89f2e8f99cfc302994948e962828ccb23.zip
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/sco.c')
-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);