batman-adv: prefer kfree_rcu() over call_rcu() with free-only callbacks
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 12 Mar 2024 18:16:28 +0000 (21:16 +0300)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 29 Mar 2024 19:18:21 +0000 (20:18 +0100)
commit537db05da2ca8ccc1243c9dd1d0c148b84aa0432
treeb67cb6752c2660afb37811764eba92be20f4530c
parent3ae5cb7efaf1e33c2cf2e7959efea363b59fda84
batman-adv: prefer kfree_rcu() over call_rcu() with free-only callbacks

Drop 'batadv_tt_local_entry_free_rcu()', 'batadv_tt_global_entry_free_rcu()'
and 'batadv_tt_orig_list_entry_free_rcu()' in favor of 'kfree_rcu()' in
'batadv_tt_local_entry_release()', 'batadv_tt_global_entry_release()' and
'batadv_tt_orig_list_entry_release()', respectively.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/translation-table.c