From patchwork Sat Jul 29 12:28:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 128124 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1037463vqg; Sat, 29 Jul 2023 06:44:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlENhBshdtGDz3t3RPoubUjFlInuwtuRx9txLvCwcSGemZb+WISOXHFjVWBnmr9sscxMhdb1 X-Received: by 2002:a17:90b:350b:b0:268:634f:61f2 with SMTP id ls11-20020a17090b350b00b00268634f61f2mr5052265pjb.17.1690638272829; Sat, 29 Jul 2023 06:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690638272; cv=none; d=google.com; s=arc-20160816; b=zhmlfNAwwTHnpV1Tzpxwb2brHhrBbbJXEZ+tIXuepbRCaCZtIhehBoOXCBKHdJzLBC 6vAw78czz0iJ3fKeug2EBch7f+ZvIsFoPjrt3Mm65p2M9S0sMdXxf6v+Ty8xQFYrx+yj QdxwWjRdCkDXq4vK1XeJPGHUetdxIRO/AqHOnJ4DSjleJCBPCEYs1hO4tYJUtZNCdB07 tQ+7FCjXXKyknIQtDCbwzxK4Jeir8XqiDuYhVn/sJ0EAnLa6b4W6MCo0WBcnAX3guI8d XiRT2bObCRqRF/Fh5c9HkQGgzYQJkoe9DoNkjF7hZo5ttLc3CgO3K2em7MJqdLsPJ8qM ZVvg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020a17090acb9100b0026818f6a0c0si4661077pju.86.2023.07.29.06.44.20; Sat, 29 Jul 2023 06:44:32 -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 S231281AbjG2M3J (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772762717425918355 X-GMAIL-MSGID: 1772762717425918355 commit a269fbfc4e9f ("xfrm: state: remove extract_input indirection from xfrm_state_afinfo") left behind this. Signed-off-by: Yue Haibing Reviewed-by: Leon Romanovsky --- 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,