From patchwork Sat Jun 28 12:12:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Paasch X-Patchwork-Id: 365275 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A37911400AB for ; Sat, 28 Jun 2014 22:12:58 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752708AbaF1MMy (ORCPT ); Sat, 28 Jun 2014 08:12:54 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:49298 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbaF1MMx (ORCPT ); Sat, 28 Jun 2014 08:12:53 -0400 Received: by mail-we0-f178.google.com with SMTP id x48so6175413wes.9 for ; Sat, 28 Jun 2014 05:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=4IM8fpUJkSZEkDz6+vc794hG+0Kh8kxTZ5NDeQMkvfo=; b=NDUGFq91o8ZiZQn7nYQZ5atLmiGHfX4HMaw5GjqMX0WF9jMmjV/FQcG9UXSz1sRxla dWkNxeV48HKGjFk+FtPdivjW7ApqXClqjhjd48qUcRyXgFb639VHI36VI/Z53UJ2h6JE FAijrZQX3RgvIDqjEVoM6fKq+PesOWW57E/5ya01emNyOorIMOTr54mYf1PEcadB1lnF Y8UjYE8UVkaci06mLD5oDvVidOqoCR0zuG1aTIBdT2CGMv6OjAw75u7Dc4TIZR0mhbRF VufvYq4qoDLZIBz7dmwyJP5orn3ne/8y74u+EHGjGTB1WkvXA0bTacbUZvm3sqM4jO5h eaJA== X-Received: by 10.180.188.144 with SMTP id ga16mr18096441wic.72.1403957572153; Sat, 28 Jun 2014 05:12:52 -0700 (PDT) Received: from localhost ([2a02:2788:34:99e:5a94:6bff:fe04:b074]) by mx.google.com with ESMTPSA id eo4sm7559540wid.4.2014.06.28.05.12.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 28 Jun 2014 05:12:51 -0700 (PDT) From: Christoph Paasch To: netdev@vger.kernel.org Cc: David Miller , Steffen Klassert , Herbert Xu Subject: [PATCH net-next] xfrm4: Remove duplicate semicolon Date: Sat, 28 Jun 2014 14:12:44 +0200 Message-Id: <1403957564-6069-1-git-send-email-christoph.paasch@uclouvain.be> X-Mailer: git-send-email 1.9.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Cc: Herbert Xu Signed-off-by: Christoph Paasch --- net/ipv4/xfrm4_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);