Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2379427rwb; Sat, 29 Jul 2023 05:56:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFv4G41Ko0ISPXXyClWSTJMlsa7bQj/WOUE+X8wKNAs64Cwn1HCpApVHU78o0vn3r7BpkMc X-Received: by 2002:a05:6a20:9153:b0:134:4f86:7990 with SMTP id x19-20020a056a20915300b001344f867990mr5003652pzc.3.1690635409785; Sat, 29 Jul 2023 05:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690635409; cv=none; d=google.com; s=arc-20160816; b=B8g1PQNd25bL7aFyAweONdOR6TJ/vzMYrx9LBGHwo1Sz6OCFqV+nk0R09BQSn+RBx3 P3a3Ju4mQCAkc2BH7Q8EoBO8qxSZjRvhPFKqF0vAw3Qu+umJc6nWQRK2CsFrk9lfy9FM qVzg3+RtfFHrPN1fWP3vRCKJ/BWgsuM42W+vbhBwJiULALrsiObHVWXzusJ0xKcjMigW q34fJpzP18/V+pwSD3oNRIfYBDyfbNpvM/umSaEGmhdc7h39C4QSvgrQ9gbu7HhvDS9f U/16Y++atNNF2/T+G+jILk3VpzYgzAkHGz+fi4yEpHlqu7sjy6iOu+453obA/I+1aw6j PJYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=uk9VgRSo3NmyNLL6l78KF3Mv+46Xbkid9TpMQVDifuE=; fh=ljJ0jkEIUENSAtB6JMcHfybTetVGLvbi6tK6Lyd0rYc=; b=gsq+9zwJllYbXkgi0Qvg+i1cBXk5E0AT3fIjTtftlHmPKNdJIcekXg/YHFPTkQZIPQ 4d75GdERCbZg7r0E7kKHIpwi/w4pkcDnWnCB00JyMMZ5+yGFsNJ4N0aRkQtXea+V+fxD hA590B4V2m8uhDCo1z+9KMIqZK3czzu9/LAxCA68lArw7voZKOBYDUtEf9zMSOxMCyEi m0JsWpIkRvfZjPsn22jkkDJTroP6pXHAYs8gRpiJE/LfXuIzXrBvp2WHhppKpfMVTF// YSC9iiRZKgp1JpF3MbYpiPlrOespFLLHlf8TVjKi/TOTlJHXb7gQ7BzBNAvozyK+CisE Bj0g== 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 l125-20020a632583000000b0055c1760dd8esi4615588pgl.380.2023.07.29.05.56.37; Sat, 29 Jul 2023 05:56:49 -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 S231279AbjG2M3J (ORCPT + 99 others); Sat, 29 Jul 2023 08:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjG2M3H (ORCPT ); Sat, 29 Jul 2023 08:29:07 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567F030C2; Sat, 29 Jul 2023 05:29:06 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RCkHR0t2nzNmTK; Sat, 29 Jul 2023 20:25:39 +0800 (CST) Received: from localhost (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.27; Sat, 29 Jul 2023 20:29:03 +0800 From: Yue Haibing To: , , , , , , CC: , , Yue Haibing Subject: [PATCH net-next] xfrm: Remove unused function declarations Date: Sat, 29 Jul 2023 20:28:58 +0800 Message-ID: <20230729122858.25776-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 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, -- 2.34.1