From patchwork Thu Mar 10 14:32:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 12776501 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83E13C43217 for ; Thu, 10 Mar 2022 14:53:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244721AbiCJOyg (ORCPT ); Thu, 10 Mar 2022 09:54:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245214AbiCJOjS (ORCPT ); Thu, 10 Mar 2022 09:39:18 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8BF62672 for ; Thu, 10 Mar 2022 06:32:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=t/ci4HxTSIxtB5zk0xbrq5lg/qcvKevxFThZk+qM/nQ=; b=k0jwSr7dXMVTnUZrmq1wK7qIfN 9FuUF3sE7ckBbTYnPQWbd9qs1sIxRUh6mbPgI/zErE3RMZp91nflwuzqJGVPCw2qckcuLKth1xgvV B42p04aFI0r/x56zWGR0nDKVVCMoKkp4Jfdu/3y1CBOXOYG1mXE1YquBk2zZF6vYYwgOBT9OxcQ71 5LlJLkuKAVdjwOGSPk/sQjREgSKRb1JROpMalcf64dmfoEcmKb4zYYRuRDqkyhpSDlxgfWsXW925V Zz/F4EHeaTDVUOCBMVPPe0Z0uLmKxwtKr+ToZV7rNNYkPo+lzYL005LKNPhjJlNLsnVhMLO9J6bF7 1bdHTSDQ==; Received: from [2001:4bb8:184:7746:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSJqC-00D7yY-EU; Thu, 10 Mar 2022 14:32:32 +0000 From: Christoph Hellwig To: edumazet@google.com, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org Cc: netdev@vger.kernel.org Subject: [PATCH] tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key Date: Thu, 10 Mar 2022 15:32:29 +0100 Message-Id: <20220310143229.895319-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Both functions are only used by core networking code. Signed-off-by: Christoph Hellwig --- net/ipv4/tcp_cong.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_cong.c b/net/ipv4/tcp_cong.c index db5831e6c136a..dc95572163df3 100644 --- a/net/ipv4/tcp_cong.c +++ b/net/ipv4/tcp_cong.c @@ -135,7 +135,6 @@ u32 tcp_ca_get_key_by_name(struct net *net, const char *name, bool *ecn_ca) return key; } -EXPORT_SYMBOL_GPL(tcp_ca_get_key_by_name); char *tcp_ca_get_name_by_key(u32 key, char *buffer) { @@ -151,7 +150,6 @@ char *tcp_ca_get_name_by_key(u32 key, char *buffer) return ret; } -EXPORT_SYMBOL_GPL(tcp_ca_get_name_by_key); /* Assign choice of congestion control. */ void tcp_assign_congestion_control(struct sock *sk)