From patchwork Mon Aug 7 14:25:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 132147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1519476vqr; Mon, 7 Aug 2023 08:14:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrpYxJBixwn9WwKIeuN60yUYQCQbKNaZ+QUGiMCpyLL+EOA7Qc5b/et0uExmmXthzX/ETF X-Received: by 2002:a05:6a20:914d:b0:137:3c67:85d7 with SMTP id x13-20020a056a20914d00b001373c6785d7mr9990699pzc.16.1691421269006; Mon, 07 Aug 2023 08:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691421268; cv=none; d=google.com; s=arc-20160816; b=ptbqBzvVeZG6BEI2c+m0AHBkfMH7Og6AhajNki4kcga1CjGMWYBGc0XIvkqSEvxSSW 3g1/uZiQuRgbMqI0SZ9YaCf/3l8NDQVXKdnMhE31Ea9hxOmhYzIYtl7knYaanTos3nl+ MJKdg93IPfIxwgjohVUQ8iCLdvvPLiXdrNY/Ruw/bQx0i8xJzHWpHC9QSYHrAET9e/HM JnDlRlvY6y4gTqU9KPoaYZujdBijcnZ1P5PyBeuriPZimFGKn5PGyiMDGnt5SWw5LFcz 3rAzqLAN3yrX4euw3+0+E5nmhER4cCTnMbt6VgZzdgMfmEDPoRRtl5tt7C3YCswGYgU9 gxIg== 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=5hETcTqezs5Arb6zCWf/mjxqkHjE4qotxa3aUiD52S8=; fh=4d/gI4VzSzIijwIrjwupnx16RkulYPmNCYR5lo4lLXY=; b=aCCZ0y9alSNJi9d0lkF5080fvdFSsU3vD0NDHFzJQ53EbC4/ZB5lRgW1w9ykq84qcu XRLu3991Uh3fuLKHzxTAVVa6pIrTRxlBM3LN3ilrNUhSQyTZxBKgjfGP3OGUOc1e8wA5 3iLFnr8O32pV1DuwxmU+A8X7CnrviW198yspgzyEkMSmyaOFLgru1+3UFoW2SGmg8w5Q 03SmIWSZ0pUEEHiMfSiYdF7xOHesrDS4JLOxaQ3VmxnVD9kleixiNcCrIROp+myHH+ZZ 0s/48N8ZohMdpwL9fQCJjnyGmO/V3Scaodh13SJZA/wUXbQO9Qe7a5J34ekID/78NUIC 838A== 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 m18-20020a056a00081200b0067bc790ce11si5787087pfk.161.2023.08.07.08.14.15; Mon, 07 Aug 2023 08:14:28 -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 S230172AbjHGOZj (ORCPT + 99 others); Mon, 7 Aug 2023 10:25:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbjHGOZh (ORCPT ); Mon, 7 Aug 2023 10:25:37 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2645B170A; Mon, 7 Aug 2023 07:25:34 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKJTS0NJfzVk5T; Mon, 7 Aug 2023 22:23:40 +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; Mon, 7 Aug 2023 22:25:32 +0800 From: Yue Haibing To: , , , CC: , , Subject: [PATCH net-next] netfilter: h323: Remove unused function declarations Date: Mon, 7 Aug 2023 22:25:26 +0800 Message-ID: <20230807142526.35648-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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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: 1773583748449815552 X-GMAIL-MSGID: 1773583748449815552 Commit f587de0e2feb ("[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port") declared but never implemented these. Signed-off-by: Yue Haibing --- include/linux/netfilter/nf_conntrack_h323.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/netfilter/nf_conntrack_h323.h b/include/linux/netfilter/nf_conntrack_h323.h index 9e937f64a1ad..81286c499325 100644 --- a/include/linux/netfilter/nf_conntrack_h323.h +++ b/include/linux/netfilter/nf_conntrack_h323.h @@ -34,10 +34,6 @@ struct nf_ct_h323_master { int get_h225_addr(struct nf_conn *ct, unsigned char *data, TransportAddress *taddr, union nf_inet_addr *addr, __be16 *port); -void nf_conntrack_h245_expect(struct nf_conn *new, - struct nf_conntrack_expect *this); -void nf_conntrack_q931_expect(struct nf_conn *new, - struct nf_conntrack_expect *this); struct nfct_h323_nat_hooks { int (*set_h245_addr)(struct sk_buff *skb, unsigned int protoff,