diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-24 15:59:14 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-03-24 16:43:50 +0100 |
commit | 8396215d4865d66be9cdfcec8d135862e1fd98d1 (patch) | |
tree | 6e0d687f9ecbe13767549ba1bec78bb49a811d0a /net/bluetooth/rfcomm/sock.c | |
parent | Bluetooth: Fix potential NULL pointer dereference in smp_conn_security (diff) | |
download | linux-8396215d4865d66be9cdfcec8d135862e1fd98d1.tar.xz linux-8396215d4865d66be9cdfcec8d135862e1fd98d1.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions