Skip to content
Snippets Groups Projects
Commit 6b9aadfa authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

batman-adv: Don't return value in void function


gw_node_delete is defined with "void" as return type, but still tries to
return a value. The called function gw_node_delete is also return as
void and thus doesn't provide a value for us.

Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent d1829fa0
No related branches found
No related tags found
No related merge requests found
...@@ -352,7 +352,7 @@ unlock: ...@@ -352,7 +352,7 @@ unlock:
void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node) void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node)
{ {
return gw_node_update(bat_priv, orig_node, 0); gw_node_update(bat_priv, orig_node, 0);
} }
void gw_node_purge(struct bat_priv *bat_priv) void gw_node_purge(struct bat_priv *bat_priv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment