OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49208c9
)
Bluetooth: Remove unneeded uninitialized_vars()
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Mon, 4 Apr 2011 19:00:55 +0000
(16:00 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 13 Apr 2011 15:19:58 +0000
(12:19 -0300)
That was unnecessary use of it.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index
0edfa65
..
5fc852a
100644
(file)
--- 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("");