summaryrefslogtreecommitdiff
path: root/net/batman-adv/multicast.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-07-21 12:03:59 +0400
committerAntonio Quartulli <antonio@meshcoding.com>2015-01-07 19:21:52 +0300
commit193924472a2514f7d9e4d08cf184e9a5f2b9309d (patch)
tree729011ee2461303a273f48b37ed4112276e49742 /net/batman-adv/multicast.h
parent44d84d7272e5848878a96029b8a8b6e86854f146 (diff)
downloadlinux-193924472a2514f7d9e4d08cf184e9a5f2b9309d.tar.xz
batman-adv: avoid useless return in void functions
Cc: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/multicast.h')
-rw-r--r--net/batman-adv/multicast.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/batman-adv/multicast.h b/net/batman-adv/multicast.h
index 73b5d45819c1..3a44ebdb43cb 100644
--- a/net/batman-adv/multicast.h
+++ b/net/batman-adv/multicast.h
@@ -50,7 +50,6 @@ void batadv_mcast_purge_orig(struct batadv_orig_node *orig_node);
static inline void batadv_mcast_mla_update(struct batadv_priv *bat_priv)
{
- return;
}
static inline enum batadv_forw_mode
@@ -67,12 +66,10 @@ static inline int batadv_mcast_init(struct batadv_priv *bat_priv)
static inline void batadv_mcast_free(struct batadv_priv *bat_priv)
{
- return;
}
static inline void batadv_mcast_purge_orig(struct batadv_orig_node *orig_node)
{
- return;
}
#endif /* CONFIG_BATMAN_ADV_MCAST */