summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-02-12 20:51:22 -0800
committerDavid S. Miller <davem@davemloft.net>2014-02-13 18:33:38 -0500
commit2045ceaed4d54e6e698874d008be727ee5b2a01c (patch)
treea481bc211dd20db90275aceab3721c7a8fb147d9 /net/sctp
parent45f7435968363816f8fc4c6abef692808534140d (diff)
downloadop-kernel-dev-2045ceaed4d54e6e698874d008be727ee5b2a01c.zip
op-kernel-dev-2045ceaed4d54e6e698874d008be727ee5b2a01c.tar.gz
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/sctp')
-rw-r--r--net/sctp/transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index d0810dc..1d348d1 100644
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -652,5 +652,4 @@ void sctp_transport_immediate_rtx(struct sctp_transport *t)
if (!mod_timer(&t->T3_rtx_timer, jiffies + t->rto))
sctp_transport_hold(t);
}
- return;
}
OpenPOWER on IntegriCloud