diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-01-17 11:01:24 +0100 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-23 06:50:58 +0100 |
commit | 21754e2501c1faf9cf530fb69e97f463937f8083 (patch) | |
tree | 124327a2d700888ba8ec526a9f92c35725f8951e /net/batman-adv/originator.h | |
parent | batman-adv: Rename batadv_nc_path *_free_ref function to *_put (diff) | |
download | linux-21754e2501c1faf9cf530fb69e97f463937f8083.tar.xz linux-21754e2501c1faf9cf530fb69e97f463937f8083.zip |
batman-adv: Rename batadv_orig_node_vlan *_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/originator.h')
-rw-r--r-- | net/batman-adv/originator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index 97748e84b66b..4e8b67f11051 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h @@ -83,7 +83,7 @@ batadv_orig_node_vlan_new(struct batadv_orig_node *orig_node, struct batadv_orig_node_vlan * batadv_orig_node_vlan_get(struct batadv_orig_node *orig_node, unsigned short vid); -void batadv_orig_node_vlan_free_ref(struct batadv_orig_node_vlan *orig_vlan); +void batadv_orig_node_vlan_put(struct batadv_orig_node_vlan *orig_vlan); /* hashfunction to choose an entry in a hash table of given size * hash algorithm from http://en.wikipedia.org/wiki/Hash_table |