Repository : ssh://git@open-mesh.org/batman-adv
On branch : next
commit 28d69c6ddab1d73052aaeffda879ce3bc146c0d1 Author: Stephen Hemminger stephen@networkplumber.org Date: Sat Feb 15 00:20:28 2014 +0100
batman-adv: 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 Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
28d69c6ddab1d73052aaeffda879ce3bc146c0d1 gateway_client.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/gateway_client.c b/gateway_client.c index 55cf226..d7fafc1 100644 --- a/gateway_client.c +++ b/gateway_client.c @@ -389,8 +389,6 @@ out: batadv_neigh_ifinfo_free_ref(router_gw_tq); if (router_orig_tq) batadv_neigh_ifinfo_free_ref(router_orig_tq); - - return; }
/**