]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove useless code in hci_connect
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 24 Apr 2012 19:11:11 +0000 (16:11 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Sun, 29 Apr 2012 20:27:41 +0000 (17:27 -0300)
commitf42f05602aeb055d86dcc75c5d8ff4d9f1b37056
treeb4a22027bae356436088761285c4ff96cf57f137
parent11069ef318f92fb5960ebd7f9c01e5bc0dcb63fc
Bluetooth: Remove useless code in hci_connect

This patch removes unneeded variable assignments in hci_connect.
'sec_level' is already assigned to BT_SECURITY_LOW in hci_le_connect
and 'pending_sec_level' and 'auth_type' are assigned right after
if statement.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c