Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3050536rdh; Thu, 28 Sep 2023 00:32:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQ68lWUbVKlQrhYUHvC9lNdem9w5N1afenu4djzeX8Xtk64agW1trwqbKu1aNXGP/hVEaD X-Received: by 2002:a17:903:428b:b0:1c7:3224:9137 with SMTP id ju11-20020a170903428b00b001c732249137mr322523plb.6.1695886376900; Thu, 28 Sep 2023 00:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695886376; cv=none; d=google.com; s=arc-20160816; b=T7rj2nhO7XcIjBhRko5tVNcQ/Q0jPmGsucUEq+gLfjrrMJgrhu3HvAkEPanfhaOPmS uGsBpT6mX3p50YPGiZcK44iaSDr2TMZm7WINGEhttgeSKHKvzJyl0nbkN076dIF+ZVZg hlELet9ig39dHmkAdArEpnBq7U6hKZ6Cptybmi55hZybZyFir+3sYC37/pxH4efu5jBX kLmNg4x3vFq9iBU/jOUcZSubXh2+Y1c54sb32x2quy7k4Rg1F4wodlq4rz9z5NHxpeOR OgvwkXI2SrkqDd4HA3vR2RAAyLXMGyJ9viD3jRjBUzDrvyDaUSh4mRfg+JAjJeHh2C5V 0Zbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=nB/XR2kmLDu6DXZJ8ovH6FOqsGzJij1XU2NZ0ryDBBs=; fh=VMpberHz59xFvJrnnV+F07S1jclniPKk9pk/JYyxKfU=; b=i+OCcCWOIgvW/CiWGpSRe2FHF0YqjNXH2WlUFFNgZPtsGvQhLzfdstmp/OzsxSKXD+ 5y/7InbSADvbgXhlbAJxFG/9HPXBgsvb90PLs07pqgQ2aDtFIbQIV9W8rA97Np5HDsRQ jwtmi3j37ocMh7X6/LqZN1Oud9bJjr5FhYYLBDQ18rUXFuA59KJx63HhhHBsmpcN4RX1 wwW/glTrMAeFwCcYHb60uxQvB+hsFaP8tQwABm+ujYORjXcYdU2rvwAmhxbrgu38ERso ZvUz73jCtT5T9PjXJof29gkN828l8SQBgDgYC4BfPQ51Xxqb5h5cnclRy1Vteb3DJUwt ashA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y12-20020a170903010c00b001c5f9de7a35si12479721plc.109.2023.09.28.00.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 00:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8CBAF80E6FF3; Thu, 28 Sep 2023 00:26:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231192AbjI1H0f (ORCPT + 99 others); Thu, 28 Sep 2023 03:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbjI1H0e (ORCPT ); Thu, 28 Sep 2023 03:26:34 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB90D95; Thu, 28 Sep 2023 00:26:31 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Rx4gg16HhzNnty; Thu, 28 Sep 2023 15:22:39 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 28 Sep 2023 15:26:28 +0800 Subject: Re: [PATCH net-next] xfrm: Remove unused function declarations To: , , , , , , CC: , References: <20230729122858.25776-1-yuehaibing@huawei.com> From: Yue Haibing Message-ID: Date: Thu, 28 Sep 2023 15:26:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20230729122858.25776-1-yuehaibing@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 00:26:56 -0700 (PDT) ping.. On 2023/7/29 20:28, Yue Haibing wrote: > commit a269fbfc4e9f ("xfrm: state: remove extract_input indirection from xfrm_state_afinfo") > left behind this. > > Signed-off-by: Yue Haibing > --- > include/net/xfrm.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/net/xfrm.h b/include/net/xfrm.h > index 151ca95dd08d..cdce217a5853 100644 > --- a/include/net/xfrm.h > +++ b/include/net/xfrm.h > @@ -1669,7 +1669,6 @@ int pktgen_xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb); > #endif > > void xfrm_local_error(struct sk_buff *skb, int mtu); > -int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb); > int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, > int encap_type); > int xfrm4_transport_finish(struct sk_buff *skb, int async); > @@ -1689,7 +1688,6 @@ int xfrm4_protocol_deregister(struct xfrm4_protocol *handler, unsigned char prot > int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family); > int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family); > void xfrm4_local_error(struct sk_buff *skb, u32 mtu); > -int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb); > int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi, > struct ip6_tnl *t); > int xfrm6_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, >