Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp388297ima; Fri, 15 Mar 2019 05:13:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqx075YV/FHMY7s6AHdVcWcP1mTJ6X3Ue+JkXT29Y64kdYK2mfhARTSDBDEI5nAy1TJAIHs/ X-Received: by 2002:a63:43c1:: with SMTP id q184mr3112390pga.110.1552652039486; Fri, 15 Mar 2019 05:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552652039; cv=none; d=google.com; s=arc-20160816; b=o5rNqnHfCV7uOHyOy0SglajOzSFqbQJ3EOPIT+QZyoGtN5N/9bEpgkxQw6FYtIWQSr JhGxqt83KxvfRpchGGKV2gOtPpY5yPS4pjzldkn2J2uH+1qrRCS1nn+40EDdmEy1loIF rTogEsmFYBo/5T2i1nOTf85L5KPNEXdrX3lKqB36zxhdWaP4hMPM6uLBsLcMtTwbpwlQ PI+MtJrcndN62kWmUuQm8NUCoHTJZ5eAHJ6MdNJBlR2uUuTJKnPZkjlt3zwUXPiDGzZ7 wELA2h3mbGmlZS2PXN5VmfH9TausQgTveub24HJ/qWvXhIgZpHBf9/RBwvbHOf8J/38B CI2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=kFTLd4RyTSwtClBl1+B0bPl73WM+ngjjww8ws6rkj+U=; b=1KGs7v3mTT4/PryKqoIPFXe2envSAv9a6pp1CytfzZGtwta8bzR3p2EFW6H+r0FXqS pgM0PChK2DTSCqFxqxtXjpJfrG6bQAyeRgb+1qE4I1OsygLs/Z4ms7jOPoId8hq9lkdp uUC6g0jQbIlRLdo2z5Wk7faTOWcjqlsJ1dXz/C1qDbVm7EEqdW+dOZ3nxbcppSddlaze VjlzoMzT5Ti+oObFzfQgzzi8kMAt5imYxeD5T39rNfrjV+q550rm7LIOM4gO8qdTHklF xM8na3N9LXOqKZ3YDKbzrZN1uxj00tKhfAwnB15ImJrhMXDPjydzlcgYic1HRtmdDR/c gd/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@azazel.net header.s=20190108 header.b=vDsXePYp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=azazel.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si1720948pgk.386.2019.03.15.05.13.41; Fri, 15 Mar 2019 05:13:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@azazel.net header.s=20190108 header.b=vDsXePYp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=REJECT dis=NONE) header.from=azazel.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728941AbfCOMNC (ORCPT + 99 others); Fri, 15 Mar 2019 08:13:02 -0400 Received: from kadath.azazel.net ([81.187.231.250]:53158 "EHLO kadath.azazel.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728067AbfCOMNC (ORCPT ); Fri, 15 Mar 2019 08:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=azazel.net; s=20190108; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject :To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kFTLd4RyTSwtClBl1+B0bPl73WM+ngjjww8ws6rkj+U=; b=vDsXePYpnYwul4K51FJUThyRLE uCvn5zp47oYWjnHc4HvHP15VxWXgQ0XWAgZ2/l/pb5nyqss74RndlnR//c9A1kRT2cjTksR9uf2Zl 98dD7Ndq92dl+IYd3Bw8m+jxTRmHg1NqsSgLbhnr+ZydF6UDFcwhKa/VfDGuRaYXDUF7gOMQ49h35 LI7trruwc/QuzlgfEA+qZMoAt656QwsluGO0WPra04yt589Vph+voiv85eVtHoMId1tMfg+2hoynD YRwPCZkgFTiLOQoyEhotqWk/Qds/HIyw65NSaD+MNncJckqAfae/3hpDJhqUVU6BPH6qpfKq3CQna DzIYdy0w==; Received: from ulthar.dreamlands ([192.168.96.2]) by kadath.azazel.net with esmtp (Exim 4.89) (envelope-from ) id 1h4lhs-0006ci-7a; Fri, 15 Mar 2019 12:13:00 +0000 From: Jeremy Sowden To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] vti4: removed duplicate log message. Date: Fri, 15 Mar 2019 12:13:00 +0000 Message-Id: <20190315121300.30007-1-jeremy@azazel.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 192.168.96.2 X-SA-Exim-Mail-From: jeremy@azazel.net X-SA-Exim-Scanned: No (on kadath.azazel.net); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removed info log-message if ipip tunnel registration fails during module-initialization: it adds nothing to the error message that is written on all failures. Fixes: d9ee3444014e ("vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel") Signed-off-by: Jeremy Sowden --- net/ipv4/ip_vti.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index b6235ca09fa5..35d8346742e2 100644 --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -646,10 +646,8 @@ static int __init vti_init(void) msg = "ipip tunnel"; err = xfrm4_tunnel_register(&ipip_handler, AF_INET); - if (err < 0) { - pr_info("%s: cant't register tunnel\n",__func__); + if (err < 0) goto xfrm_tunnel_failed; - } msg = "netlink interface"; err = rtnl_link_register(&vti_link_ops); -- 2.20.1