aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/request_sock.c
diff options
context:
space:
mode:
authorstephen hemminger <[email protected]>2014-02-13 04:51:22 +0000
committerDavid S. Miller <[email protected]>2014-02-13 23:33:38 +0000
commit2045ceaed4d54e6e698874d008be727ee5b2a01c (patch)
treea481bc211dd20db90275aceab3721c7a8fb147d9 /net/core/request_sock.c
parenttcp: remove unused min_cwnd member of tcp_congestion_ops (diff)
downloadkernel-2045ceaed4d54e6e698874d008be727ee5b2a01c.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/request_sock.c')
-rw-r--r--net/core/request_sock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/request_sock.c b/net/core/request_sock.c
index 4425148d2b51..467f326126e0 100644
--- a/net/core/request_sock.c
+++ b/net/core/request_sock.c
@@ -221,5 +221,4 @@ void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req,
out:
spin_unlock_bh(&fastopenq->lock);
sock_put(lsk);
- return;
}