aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/xfrm4_protocol.c
diff options
context:
space:
mode:
authorChristoph Paasch <christoph.paasch@uclouvain.be>2014-06-28 14:12:44 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2014-06-30 07:49:47 +0200
commit1759389e8af46d724220785bf710b7bdbebdfa48 (patch)
tree35b294cc620afa674c957e8aff3d6d8829b9ae0e /net/ipv4/xfrm4_protocol.c
parentvti: Simplify error handling in module init and exit (diff)
downloadwireguard-linux-1759389e8af46d724220785bf710b7bdbebdfa48.tar.xz
wireguard-linux-1759389e8af46d724220785bf710b7bdbebdfa48.zip
xfrm4: Remove duplicate semicolon
3328715e6c1fc (xfrm4: Add IPsec protocol multiplexer) adds a duplicate semicolon after the return-statement. Although it has no negative impact, the second semicolon should be removed. Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/xfrm4_protocol.c')
-rw-r--r--net/ipv4/xfrm4_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_protocol.c b/net/ipv4/xfrm4_protocol.c
index a2ce0101eaac..dccefa9d84cf 100644
--- a/net/ipv4/xfrm4_protocol.c
+++ b/net/ipv4/xfrm4_protocol.c
@@ -124,7 +124,7 @@ static int xfrm4_ah_rcv(struct sk_buff *skb)
for_each_protocol_rcu(ah4_handlers, handler)
if ((ret = handler->handler(skb)) != -EINVAL)
- return ret;;
+ return ret;
icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0);