]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove useless smp_rand function
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Dec 2013 08:49:03 +0000 (10:49 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:05 +0000 (11:09 -0200)
commit998d1c028f7089df8d5abc13d46a6f9dea986560
treee20caf8fc9d9912e591efd444534758ec9367e57
parentcc2185d5f2eacf953c8e5e1901baec2e8864b39c
Bluetooth: Remove useless smp_rand function

This function was always just making a single get_random_bytes() call
and always returning the value 0. It's simpler to just call
get_random_bytes() directly where needed.

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