]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unnecessary assignment in SMP
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 14:59:14 +0000 (16:59 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Mar 2014 15:43:50 +0000 (08:43 -0700)
commit7d65c662e64e28a1c6c73ee88b01081f9ed529a4
tree6e0d687f9ecbe13767549ba1bec78bb49a811d0a
parent818cd19d04a4dc5dae32f63252616cd1bae975fe
Bluetooth: Remove unnecessary assignment in SMP

The smp variable in smp_conn_security is not used anywhere before the
smp = smp_chan_create() call in the smp_conn_security function so it
makes no sense to assign any other value to it before that.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c