OSDN Git Service

xfrm4: Remove duplicate semicolon
authorChristoph Paasch <christoph.paasch@uclouvain.be>
Sat, 28 Jun 2014 12:12:44 +0000 (14:12 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 30 Jun 2014 05:49:47 +0000 (07:49 +0200)
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>
net/ipv4/xfrm4_protocol.c

index a2ce010..dccefa9 100644 (file)
@@ -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);