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:
430a61b
)
Bluetooth: trivial: Remove unneeded assignment
author
Andrei Emeltchenko
<
[email protected]
>
Thu, 25 Oct 2012 12:20:42 +0000
(15:20 +0300)
committer
Gustavo Padovan
<
[email protected]
>
Thu, 1 Nov 2012 22:27:01 +0000
(20:27 -0200)
Assignment is not needed here since err is always gets value.
Signed-off-by: Andrei Emeltchenko <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Gustavo Padovan <
[email protected]
>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index fae0c70e8e106471094984e3781101634521f39e..962a322c8aed3b12b6fa25fd6282ea619ecf7f45 100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-4386,7
+4386,7
@@
static void l2cap_logical_finish_create(struct l2cap_chan *chan,
set_bit(CONF_OUTPUT_DONE, &chan->conf_state);
if (test_bit(CONF_INPUT_DONE, &chan->conf_state)) {
- int err
= 0
;
+ int err;
set_default_fcs(chan);