diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-02-12 23:51:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 18:33:38 -0500 |
commit | 2045ceaed4d54e6e698874d008be727ee5b2a01c (patch) | |
tree | a481bc211dd20db90275aceab3721c7a8fb147d9 /net/batman-adv | |
parent | 45f7435968363816f8fc4c6abef692808534140d (diff) |
net: remove unnecessary return's
One of my pet coding style peeves is the practice of
adding extra return; at the end of function.
Kill several instances of this in network code.
I suppose some coccinelle wizardy could do this automatically.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/gateway_client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 55cf2260d295..d7fafc1009a0 100644 --- a/net/batman-adv/gateway_client.c +++ b/net/batman-adv/gateway_client.c | |||
@@ -389,8 +389,6 @@ out: | |||
389 | batadv_neigh_ifinfo_free_ref(router_gw_tq); | 389 | batadv_neigh_ifinfo_free_ref(router_gw_tq); |
390 | if (router_orig_tq) | 390 | if (router_orig_tq) |
391 | batadv_neigh_ifinfo_free_ref(router_orig_tq); | 391 | batadv_neigh_ifinfo_free_ref(router_orig_tq); |
392 | |||
393 | return; | ||
394 | } | 392 | } |
395 | 393 | ||
396 | /** | 394 | /** |