From patchwork Sat Jul 29 12:34:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 128123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1037378vqg; Sat, 29 Jul 2023 06:44:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlH9WLNyAveGSufgdhVwwNrFXKkqb3d65jtXNjn6wxmmnzPa9vEEX9jcXXIghyLaCHyVMEdV X-Received: by 2002:a17:902:c40a:b0:1bb:7909:f15c with SMTP id k10-20020a170902c40a00b001bb7909f15cmr5261580plk.35.1690638254238; Sat, 29 Jul 2023 06:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690638254; cv=none; d=google.com; s=arc-20160816; b=Q/ucN4zPAEL300/KzYI7vZ03zTeqvAYig+ae68cIz/RPZOius76W1QdtyEp1a68QlP +RvOgwFcpgnc3DuDLWMCQ7ua70xH39yZXQgQWf1CQGoSHq+hxIBRaf395msoI7nTKy2/ nF0/GxB8TYFynxUC3fxsBjPlYCM5TKOCQ74dUFRPhNSGwaYZ1DwJIDvRGvx3AY+gEXLO nX6ssPu9JHZ5s/gRXPvjEbHNUgxZgfOXSiKDNe7JCmdxckIMOz9Br4zw0CaO3+/D5exG 2JSJDkKw5LNTmtNc6EZcbdtEpYSIWa7t7WrkM4VVFswHFJrbWvXh3G/p96/o9hb4yo59 NkLQ== 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=qciJsv94J0kf1BO3IBAnTgTv0AB/f6g6S0fVYG79rIA=; fh=n/VzIJQjYCb9cdc07qGWp6dTaXouVzujDyubyygkztc=; b=QxtVIPz1D1SdEDuffnRsXThvG/m3y3ppul4bZyvmhtrN5hw+NT7wwAnMGH7qJKGQef kfobyC2bwiMpMN8pgxsan3PlhnnHVbJjNC5mF2M6CPSAPPehxyy36kP9Pthv6Y5gWnbL E1KdKRjr7xRg44KwWZ1L+iYWczSc6GvSqcDjLDpUgdubZZnwtd5ECksM9dEwi8VQEHFV pri0CyHg0VtymRuTed2838pMlaFnzDoOe6imTgWF29LxefdovXdBGfzYV0XqCa+KJxKc X0axsz24xpXNT609VvNesawgn59VaUzWm6KwCM5WlnJOnuDQb7bMeg+e2w03wA0RMGK+ RK9g== 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 w20-20020a170902d11400b001b25ade9ea3si4515918plw.337.2023.07.29.06.44.00; Sat, 29 Jul 2023 06:44:14 -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 S231640AbjG2MfV (ORCPT + 99 others); Sat, 29 Jul 2023 08:35:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjG2MfU (ORCPT ); Sat, 29 Jul 2023 08:35:20 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 343BD3AB7; Sat, 29 Jul 2023 05:35:19 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RCkSf18kRzVjkK; Sat, 29 Jul 2023 20:33:38 +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:35:16 +0800 From: Yue Haibing To: , , , , CC: , Subject: [PATCH net-next] net/hsr: Remove unused function declarations Date: Sat, 29 Jul 2023 20:34:56 +0800 Message-ID: <20230729123456.36340-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: dggems703-chm.china.huawei.com (10.3.19.180) 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: 1772762698388490077 X-GMAIL-MSGID: 1772762698388490077 commit f421436a591d ("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)") introducted these but never implemented. Signed-off-by: Yue Haibing Reviewed-by: Simon Horman --- net/hsr/hsr_netlink.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/hsr/hsr_netlink.h b/net/hsr/hsr_netlink.h index 501552d9753b..8c99e64e1cea 100644 --- a/net/hsr/hsr_netlink.h +++ b/net/hsr/hsr_netlink.h @@ -23,7 +23,5 @@ void __exit hsr_netlink_exit(void); void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], struct hsr_port *port); void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]); -void hsr_nl_framedrop(int dropcount, int dev_idx); -void hsr_nl_linkdown(int dev_idx); #endif /* __HSR_NETLINK_H */