Received: by 10.223.185.116 with SMTP id b49csp7763435wrg; Thu, 1 Mar 2018 10:40:15 -0800 (PST) X-Google-Smtp-Source: AG47ELsTZ3xK0IbWGnUHIdydrXKEnJxpzwchu5ZoMEgx4KpCd6q/t/hXDPxXdfy1kuagIDm82rxH X-Received: by 10.101.98.17 with SMTP id d17mr2310128pgv.221.1519929615586; Thu, 01 Mar 2018 10:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519929615; cv=none; d=google.com; s=arc-20160816; b=QXpVaLzOYaplN3egFj6AWq3NGUXE43isWsZ6V5TKb+AVbfQhP4N+MEUp6IE0dOm2zC C608BF0nT18J9ZFiEywKfjzwQ24dHYliHUgZHQ0kOhliCJjYkTz5OyH6+/sxnf+qaegP kh30SA40fqqAJ8MG1SB3qwlivtmas45o24fHhogfB7EUG2upFigk0s0c4lKjmrJ9wZ73 6gdfYDGyB++izG3mEz6hWXzhwb/stR4ZkRHWfWkDPH4FropMrTRKb4TLRP1SztkzmHbk LUBG2wcZhtN/6pZM8rfMHlLwmyiHHjnl9dAy/g22wsgPMPiD4kGFOtubKzGH/kIGeFCK 2/sA== 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 :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=DIzaWYBMTUHJ6oHgRESDkJplSJHMVEL3qKpAjmZ2+Us=; b=D3d3SXm4u+WBEKsBpm0ryTnpwW2IVfUCO2+3puXqda2O4LjupIH6XrTMSAp+2ecWU+ CV+X2MmctFXQOBoFhZnvGaNMp0sAqc/52iJE+aXfRA+26ZPUaDdxBFKx+Yut3uVjn9K1 aCMxNC6qNYEdrbUB38HSOIVO8KH1hEvRBVc5E146oCpX/kLACCDRMzPjT9V3yW7t9Qff EC0qK/rV8DR208QJXFgOLQ3PMDFv0uKd8PbZiTXvncLaTigXN/phaY0FzIgzl9t/pzJT y0e1dMW8jKNezwDLsntM8GR3xff1YLJ8YrGd3Z6T1LqRBYUxfmJYHJd0x4HJVqih0xsh LRRA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9-v6si3441025pll.391.2018.03.01.10.40.00; Thu, 01 Mar 2018 10:40:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161020AbeCASiy (ORCPT + 99 others); Thu, 1 Mar 2018 13:38:54 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:36106 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033978AbeCASiw (ORCPT ); Thu, 1 Mar 2018 13:38:52 -0500 Received: from localhost (cpe-67-254-51-130.nj.res.rr.com [67.254.51.130]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 315F5141BDEA1; Thu, 1 Mar 2018 10:38:51 -0800 (PST) Date: Thu, 01 Mar 2018 13:38:49 -0500 (EST) Message-Id: <20180301.133849.828156667575255120.davem@davemloft.net> To: arnd@arndb.de Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, jishi@redhat.com, sd@queasysnail.net, sbrivio@redhat.com, dsahern@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ipv4: avoid unused variable warning for sysctl From: David Miller In-Reply-To: <20180228133310.1816221-1-arnd@arndb.de> References: <20180228133310.1816221-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 01 Mar 2018 10:38:52 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Wed, 28 Feb 2018 14:32:48 +0100 > The newly introudced ip_min_valid_pmtu variable is only used when > CONFIG_SYSCTL is set: > > net/ipv4/route.c:135:12: error: 'ip_min_valid_pmtu' defined but not used [-Werror=unused-variable] > > This moves it to the other variables like it, to avoid the harmless > warning. > > Fixes: c7272c2f1229 ("net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68") > Signed-off-by: Arnd Bergmann Applied, thanks Arnd.