diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-01-17 13:01:12 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-23 08:48:25 +0300 |
commit | 044fa3ae124118c62575566cfc88e6046a64ae0e (patch) | |
tree | 66fa01f9533c87fde45150ac2ef9eddbb56ad30a /net/batman-adv/network-coding.c | |
parent | 25bb250996eea422171ede0ada8814188dda8937 (diff) | |
download | linux-044fa3ae124118c62575566cfc88e6046a64ae0e.tar.xz |
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>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r-- | net/batman-adv/network-coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index e9409bad35e7..8b367659f1ae 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -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; } |