]> git.baikalelectronics.ru Git - kernel.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>
Wed, 9 May 2012 04:40:42 +0000 (01:40 -0300)
commit00dd9896576c7657314e2035896d3b2830c05924
treec045723855afb74c96b909894d037f5a81b8df57
parent99a3403d085772b8a5da4bc9fed1212439d20eaa
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