On Mon, May 06, 2013 at 09:39:52PM +0200, Antonio Quartulli wrote:
batadv_tt_global_entry_free_ref uses call_rcu to schedule a function which will only free the global entry itself.
For this reason call_rcu is useless and kfree_rcu can be used to simplify the code.
Signed-off-by: Antonio Quartulli ordex@autistici.org
compat.c | 11 +++++++++++ translation-table.c | 20 ++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/compat.c b/compat.c index 1f3a39d..6226f81 100644 --- a/compat.c +++ b/compat.c @@ -27,6 +27,17 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0)
This compat code has not been tested because of lack of kernels...
Cheers,