Bluetooth: do not use assignment in if condition
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Mon, 22 Nov 2010 11:21:37 +0000 (13:21 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 1 Dec 2010 23:04:36 +0000 (21:04 -0200)
commitcc11b9c14da4ca1c545b424dae2ae8fb1ab04063
tree34e7ecf89659bd99f696698ab72833b18b4651dc
parent940a9eea80946b64b96bd8af1fc71b30c602d057
Bluetooth: do not use assignment in if condition

Fix checkpatch errors like:
"ERROR: do not use assignment in if condition"
Simplify code and fix one long line.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Acked-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c