commit | cd50361c21b788a29f4661a6c49260eac2b13435 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Mar 01 15:10:53 2017 +0000 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Apr 12 22:02:38 2017 +0200 |
tree | 9a16ed4dc9abfb8be692b75277c0f4d0d3563870 | |
parent | 6c7bb7ebb58c0e17b11aebf928ffc5c295959a01 [diff] |
Bluetooth: fix assignments on error variable err Variable err is being initialized to zero and then later being set to the error return from the call to hci_req_run_skb; hence we can remove the redundant initialization to zero. Also on two occassions err is not being set from the error return from the call to hci_req_run_skb, so add these missing assignments. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>