summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-09-10 17:37:41 -0700
committerMarcel Holtmann <marcel@holtmann.org>2014-09-11 02:45:24 +0200
commit3a7dbfb8ff943711be4221df978254ad2bc1ac46 (patch)
tree47bf1c11fbd6262e51092228e049e067cef6ab25 /tools/perf/builtin-inject.c
parent196332f5a1e5c3ec7171742fce83d03795abf120 (diff)
downloadtalos-op-linux-3a7dbfb8ff943711be4221df978254ad2bc1ac46.tar.gz
talos-op-linux-3a7dbfb8ff943711be4221df978254ad2bc1ac46.zip
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud