From: Andre Guedes Date: Tue, 24 Apr 2012 19:11:11 +0000 (-0300) Subject: Bluetooth: Remove useless code in hci_connect X-Git-Tag: v3.5-rc1~101^2~6^2^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29050448a7efcedf5e8bec71c371169389a7a26;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed