]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: 6lowpan: Remove unnecessary RCU callback
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Nov 2014 12:16:29 +0000 (14:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 11 Nov 2014 13:26:02 +0000 (14:26 +0100)
commitd4ebaba72bec0ff23ec488357fc9fa323ba0abac
tree4b2c2592b7ec5d4a01545698b0d062ddbe942646
parent18374a92e20dedaea26c693383263f3159d54649
Bluetooth: 6lowpan: Remove unnecessary RCU callback

When kfree() is all that's needed to free an object protected by RCU
there's a kfree_rcu() convenience function that can be used. This patch
updates the 6lowpan code to use this, thereby eliminating the need for
the separate peer_free() function.

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