From: Johan Hedberg Date: Thu, 11 Sep 2014 00:37:41 +0000 (-0700) Subject: Bluetooth: Remove unnecessary early initialization of variable X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~49^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7dbfb8ff943711be4221df978254ad2bc1ac46;p=pandora-kernel.git Bluetooth: Remove unnecessary early initialization of variable We do nothing else with the auth variable in smp_cmd_pairing_rsp() besides passing it to tk_request() which in turn only cares about whether one of the sides had the MITM bit set. It is therefore unnecessary to assign a value to it until just before calling tk_request(), and this value can simply be the bit-wise or of the local and remote requirements. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed