diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-10-25 15:20:42 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-01 20:27:01 -0200 |
commit | fe79c6fea30a7b6d1a8757c9bfce2f6426c68436 (patch) | |
tree | d7802b83bcb84642d73ec0f0ef11ed36145f87e9 /net/bluetooth/l2cap_core.c | |
parent | 430a61b8037e3184eb7e59220bb4a43530b8d0f6 (diff) | |
download | kernel_goldelico_gta04-fe79c6fea30a7b6d1a8757c9bfce2f6426c68436.zip kernel_goldelico_gta04-fe79c6fea30a7b6d1a8757c9bfce2f6426c68436.tar.gz kernel_goldelico_gta04-fe79c6fea30a7b6d1a8757c9bfce2f6426c68436.tar.bz2 |
Bluetooth: trivial: Remove unneeded assignment
Assignment is not needed here since err is always gets value.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index fae0c70..962a322 100644 --- 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); |