diff mbox

[net-next] xfrm4: Remove duplicate semicolon

Message ID 1403957564-6069-1-git-send-email-christoph.paasch@uclouvain.be
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Christoph Paasch June 28, 2014, 12:12 p.m. UTC
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>
---
 net/ipv4/xfrm4_protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steffen Klassert June 30, 2014, 9:20 a.m. UTC | #1
On Sat, Jun 28, 2014 at 02:12:44PM +0200, Christoph Paasch wrote:
> 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>

Applied to ipsec-next, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);