projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10cc5a
)
Bluetooth: Minor coding style fix
author
Claudio Takahasi
<
[email protected]
>
Thu, 11 Apr 2013 14:35:46 +0000
(11:35 -0300)
committer
Gustavo Padovan
<
[email protected]
>
Thu, 11 Apr 2013 19:34:17 +0000
(16:34 -0300)
This patch removes unneeded initialization and empty line.
Signed-off-by: Claudio Takahasi <
[email protected]
>
Signed-off-by: Gustavo Padovan <
[email protected]
>
net/bluetooth/sco.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/sco.c
b/net/bluetooth/sco.c
index 18e3594f238c5ee81a54b568b3d9b53d73c9a621..d8836802526c05308e34ce92154e0f7c0c1b7628 100644
(file)
--- 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);