summaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorstephen hemminger2014-02-13 05:51:22 +0100
committerDavid S. Miller2014-02-14 00:33:38 +0100
commit2045ceaed4d54e6e698874d008be727ee5b2a01c (patch)
treea481bc211dd20db90275aceab3721c7a8fb147d9 /net/ipv4/route.c
parenttcp: remove unused min_cwnd member of tcp_congestion_ops (diff)
downloadkernel-qcow2-linux-2045ceaed4d54e6e698874d008be727ee5b2a01c.tar.gz
kernel-qcow2-linux-2045ceaed4d54e6e698874d008be727ee5b2a01c.tar.xz
kernel-qcow2-linux-2045ceaed4d54e6e698874d008be727ee5b2a01c.zip
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/ipv4/route.c')
-rw-r--r--net/ipv4/route.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 25071b48921c..271554c61276 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -697,7 +697,6 @@ static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw,
out_unlock:
spin_unlock_bh(&fnhe_lock);
- return;
}
static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4,