projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1829fa
)
batman-adv: Don't return value in void function
author
Sven Eckelmann
<sven@narfation.org>
Sat, 4 Jun 2011 10:40:37 +0000
(12:40 +0200)
committer
Sven Eckelmann
<sven@narfation.org>
Thu, 9 Jun 2011 18:40:38 +0000
(20:40 +0200)
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>
net/batman-adv/gateway_client.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/gateway_client.c
b/net/batman-adv/gateway_client.c
index
ab597c4
..
cf7f95e
100644
(file)
--- a/
net/batman-adv/gateway_client.c
+++ b/
net/batman-adv/gateway_client.c
@@
-352,7
+352,7
@@
unlock:
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)