]> Pileus Git - ~andy/linux/commit
batman-adv: don't use call_rcu if not needed
authorAntonio Quartulli <ordex@autistici.org>
Mon, 6 May 2013 22:29:22 +0000 (00:29 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 07:51:28 +0000 (09:51 +0200)
commit210260594782ba9bc52732d84880573466c13441
tree9832ec4671a2358241904e56727c73c78bc177b3
parentd7ee88d048542f8052fc2d3c1413ac2287d826f5
batman-adv: don't use call_rcu if not needed

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>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/translation-table.c