]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unneeded val variable when setting SSP
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 10:08:10 +0000 (03:08 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 10:54:51 +0000 (12:54 +0200)
commit4566c17cfe67edbea09f42ce7c9e663603885404
tree6e6579ee9c272fe4fe0bdbeb8cab298cb35b78a7
parent6bf021ffec853f0fd194ae562c6fbf868fce9294
Bluetooth: Remove unneeded val variable when setting SSP

The variable val in the set_ssp() function of the management interface
is not needed. Just use cp->val directly since its input values have
already been validated.

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