aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-06-04 06:40:37 -0400
committerSven Eckelmann <sven@narfation.org>2011-06-09 14:40:38 -0400
commit6b9aadfa97efa5a73c005c5c4c667359a0c85bec (patch)
tree97162dfad9a7797045d2e841a07aa80ef9a65654
parentd1829fa0c380ccf48a7b96795a6d4a01698d02a6 (diff)
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: Sven Eckelmann <sven@narfation.org>
-rw-r--r--net/batman-adv/gateway_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index ab597c4f9ddd..cf7f95e9a952 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -352,7 +352,7 @@ unlock:
352 352
353void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node) 353void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node)
354{ 354{
355 return gw_node_update(bat_priv, orig_node, 0); 355 gw_node_update(bat_priv, orig_node, 0);
356} 356}
357 357
358void gw_node_purge(struct bat_priv *bat_priv) 358void gw_node_purge(struct bat_priv *bat_priv)