]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite84a6b139bdd3af2914f194ff840b1a36fa55598
treee20caf8fc9d9912e591efd444534758ec9367e57
parentd2bee8fb6e18f6116aada39851918473761f7ab1
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