batman-adv: Rename batadv_neigh_ifinfo *_free_ref function to *_put
The batman-adv source code is the only place in the kernel which uses the *_free_ref naming scheme for the *_put functions. Changing it to *_put makes it more consistent and makes it easier to understand the connection to the *_get functions. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
This commit is contained in:

committed by
Antonio Quartulli

parent
25bb250996
commit
044fa3ae12
@@ -1232,9 +1232,9 @@ out:
|
||||
if (router_coding)
|
||||
batadv_neigh_node_put(router_coding);
|
||||
if (router_neigh_ifinfo)
|
||||
batadv_neigh_ifinfo_free_ref(router_neigh_ifinfo);
|
||||
batadv_neigh_ifinfo_put(router_neigh_ifinfo);
|
||||
if (router_coding_ifinfo)
|
||||
batadv_neigh_ifinfo_free_ref(router_coding_ifinfo);
|
||||
batadv_neigh_ifinfo_put(router_coding_ifinfo);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user