Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3043419rwb; Mon, 5 Sep 2022 05:44:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR74BOHFm1U20NHNCwi6d1ZoTgFlPFpmUauFSRrPhzRQvFsuYD1AOf9hEOYHdsBaD2lXmBuB X-Received: by 2002:a17:902:6bc9:b0:173:f3f:4a8c with SMTP id m9-20020a1709026bc900b001730f3f4a8cmr49755383plt.96.1662381873608; Mon, 05 Sep 2022 05:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662381873; cv=none; d=google.com; s=arc-20160816; b=YKaC/vaaAORNxjbruCxByx1cUr08QkMzIf8w/AaR1cmVf8t/rG0nLNHbxRdLrXHOH6 sN8kCueqqVAP4v6D30tuOpbP+wl0juL8cHZlVn0htlmRI3l5/WZ9ZTnIuuDwvJ8LaFlO 3xrL8WvkoPwF7gGFbn1HcWp77TOKmmzE03pBn2ZcNdSDqnoDXcxZy2/saXu4+B5Zplg0 RsXccfX3ozGeuQymfVtOjTCv2iBpYpAl6DfOOuS7R+Ys0Eh8NDDp1/0T/lS7cj8Rhmin uV20nYhaJv48OsCG/kW0ieeDeeNT3XGBRGitnzpN6md68z4KXYk5T5sITpVm4lL/PL1u 8LRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=hP7KqPw7pikKTN0KlhtnbrqhJfEG5Ta9pAGboMg8SWk=; b=eVr7VcENhIun/kfS3OMYJwUTFTc0tSibtDfxu7qSXZKzRE9VKMQWRaZ1FNs4Z3QuyZ dcxqSqPGDLWZ9WH3WZkEfNfdQUaiuKPZUC3sE5/ccY2mXxLBVd0lfTBdq7AIMidzAkym Rb+fyERZ5J3jUFdsQpb7dKmGFjBlqCoEuvceMymXLN3P1cSA3zWsduw5AgmDFXR4GXY2 qQ3OvtiPEvotAx1JqgF1S7XQevN+02GXvgzGwyKzL61TOATn4tI4+EGiTqB9+hju1kV2 ymYzwramZfeHV9yaTolZz3S0kBxI27Qr9xeYk+rJARGJfRPr9YZgIGV5IJuj6Yt1JUwG ZUzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170902e5ca00b001750b7098b1si11033388plf.563.2022.09.05.05.44.18; Mon, 05 Sep 2022 05:44:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236609AbiIEMQZ (ORCPT + 99 others); Mon, 5 Sep 2022 08:16:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbiIEMQX (ORCPT ); Mon, 5 Sep 2022 08:16:23 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E0B55E653; Mon, 5 Sep 2022 05:16:21 -0700 (PDT) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MLnVg5TBZznV5F; Mon, 5 Sep 2022 20:13:47 +0800 (CST) Received: from dggpemm100009.china.huawei.com (7.185.36.113) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 20:16:19 +0800 Received: from huawei.com (10.175.113.32) by dggpemm100009.china.huawei.com (7.185.36.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 20:16:19 +0800 From: Liu Shixin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni CC: , , , Liu Shixin , Kefeng Wang Subject: [PATCH] net: sysctl: remove unused variable long_max Date: Mon, 5 Sep 2022 20:50:42 +0800 Message-ID: <20220905125042.2234889-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm100009.china.huawei.com (7.185.36.113) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The variable long_max is replaced by bpf_jit_limit_max and no longer be used. So remove it. No functional change. Signed-off-by: Liu Shixin --- net/core/sysctl_net_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 725891527814..5b1ce656baa1 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -29,7 +29,6 @@ static int int_3600 = 3600; static int min_sndbuf = SOCK_MIN_SNDBUF; static int min_rcvbuf = SOCK_MIN_RCVBUF; static int max_skb_frags = MAX_SKB_FRAGS; -static long long_max __maybe_unused = LONG_MAX; static int net_msg_warn; /* Unused, but still a sysctl */ -- 2.25.1