diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-11-11 14:16:29 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-11 14:26:02 +0100 |
commit | 4e7902267708e5a389398d9014455b2ed4892912 (patch) | |
tree | 4b2c2592b7ec5d4a01545698b0d062ddbe942646 /net/mac802154/main.c | |
parent | 60cb49d2c92969f7b0e7da863fc0cbe3ec0c715c (diff) | |
download | lwn-4e7902267708e5a389398d9014455b2ed4892912.tar.gz lwn-4e7902267708e5a389398d9014455b2ed4892912.zip |
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>
Diffstat (limited to 'net/mac802154/main.c')
0 files changed, 0 insertions, 0 deletions