Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 365deac8a83d08e67dad3d52a6e3e0aa92f78d68 Author: Antonio Quartulli antonio@meshcoding.com Date: Mon Jul 21 10:03:59 2014 +0200
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
365deac8a83d08e67dad3d52a6e3e0aa92f78d68 multicast.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/multicast.h b/multicast.h index 73b5d45..3a44ebd 100644 --- a/multicast.h +++ b/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 */