From patchwork Wed Jul 26 14:31:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 126435 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp471690vqo; Wed, 26 Jul 2023 08:14:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlFd/6ZN1yj5zjfhGhb8zpIeOIva4CI4q/mBQhF+p6Pr529UT/R76XKbM7eYjqCOlSHqFnwk X-Received: by 2002:a05:6402:4d5:b0:522:405e:dc1a with SMTP id n21-20020a05640204d500b00522405edc1amr1823759edw.41.1690384493212; Wed, 26 Jul 2023 08:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690384493; cv=none; d=google.com; s=arc-20160816; b=kQmy9x6Xsavyr3GSGQfzHKSFM5SxFYMcUpqGE+GjvxbzHnDT5PamgLo63al4GOrCce hYiHVz3rqhduBpuLj3J3fBsmyg9uK/mt1cNcJKSmzEhMJcpTyPNLYyQYtBBrR7AHzVmQ JtBIp9FP10AHa5DwIfupzptYvI12hjSkhPBcIb6KocttXQrWfC0kHK6TZSlZgplZ75bU JOf+MVPXdPRGkTwwpE6tU3rc8G6oiHpq6Gr7E/K9TtxRjQl/cOfaqvTzJ/S1+ALML9IW fvb6EzGI5FC09QtEcao3j8zFsQjg5ziCW3dXML1Wv9dGJ6F7ohSFVCz427HtMMHXMAHc X3EQ== 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=FSnBQK1DwfIodlBRIWO+u/PWyMOq49Lu7B40sVm2+0o=; fh=KSxbdjTIUBoKZZ9pJFZtUcg/MvIJy130QMNC7Yj3nXI=; b=ib4GlBQJJwUCT5D1iNlu/xX+TEq+UclQTykhGk/io1yacnb0ZPCqQwxk392KESaWpJ JaJCJ4u2KQjim9t0fGgtlO3lg49mYGc9K2xlsoX56tKfRbmY2WuLET+X7sic+XT1MBYV p89psceljbR/JKPEfKV0vI1B1bI5bxSr0YAeBu2Mj4VgMApHqAyegDXPlHJa+T8lOpNP qQdilAd+J9Q2YTZZ0W6URwbf+p8HoPFVxXCZh4pLnoI6gvB/dfiWFekGP8H3LMmF6p1n qFx6otq1gn7EFH8/Itq7iKT16NWOKvCml9rMPpXPqEc79BN0AxU6QbAvJtw50OBbNvan P/Sg== 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 c11-20020aa7c98b000000b0051df5f4e88csi9939672edt.48.2023.07.26.08.14.27; Wed, 26 Jul 2023 08:14:53 -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 S234542AbjGZObu (ORCPT + 99 others); Wed, 26 Jul 2023 10:31:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbjGZObs (ORCPT ); Wed, 26 Jul 2023 10:31:48 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C909188; Wed, 26 Jul 2023 07:31:47 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R9xCH2Vstz1GDFN; Wed, 26 Jul 2023 22:30:51 +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; Wed, 26 Jul 2023 22:31:44 +0800 From: YueHaibing To: , , , , , , CC: , , , YueHaibing Subject: [PATCH net-next] bridge: Remove unused declaration br_multicast_set_hash_max() Date: Wed, 26 Jul 2023 22:31:41 +0800 Message-ID: <20230726143141.11704-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: dggems702-chm.china.huawei.com (10.3.19.179) 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, 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: 1772496610280831796 X-GMAIL-MSGID: 1772496610280831796 Since commit 19e3a9c90c53 ("net: bridge: convert multicast to generic rhashtable") this is not used, so can remove it. Signed-off-by: YueHaibing Reviewed-by: Simon Horman Acked-by: Nikolay Aleksandrov --- net/bridge/br_private.h | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 51e4ca54b537..a1f4acfa6994 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -974,7 +974,6 @@ int br_multicast_set_vlan_router(struct net_bridge_vlan *v, u8 mcast_router); int br_multicast_toggle(struct net_bridge *br, unsigned long val, struct netlink_ext_ack *extack); int br_multicast_set_querier(struct net_bridge_mcast *brmctx, unsigned long val); -int br_multicast_set_hash_max(struct net_bridge *br, unsigned long val); int br_multicast_set_igmp_version(struct net_bridge_mcast *brmctx, unsigned long val); #if IS_ENABLED(CONFIG_IPV6)