Skip to content

Commit

Permalink
batman-adv: avoid useless return in void functions
Browse files Browse the repository at this point in the history
Cc: Linus Lüssing <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
  • Loading branch information
ordex committed Jan 7, 2015
1 parent 44d84d7 commit 1939244
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion net/batman-adv/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static int batadv_debug_log_setup(struct batadv_priv *bat_priv)

static void batadv_debug_log_cleanup(struct batadv_priv *bat_priv)
{
return;
}
#endif

Expand Down
3 changes: 0 additions & 3 deletions net/batman-adv/multicast.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 */
Expand Down

0 comments on commit 1939244

Please sign in to comment.