Skip to contentSkip to conversation

batman-adv: avoid useless return in void functions

PATCH Applied Antonio Quartulli 2 participants 2 messages Jul 21, 2014 – Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: avoid useless return in void functions

---
 multicast.h | 3 ---
 1 file changed, 3 deletions(-)
multicast.h +0 -3
index 73b5d45..3a44ebd 100644
@@ -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 */
Signature · 1 line
1.8.5.5