Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1404917ybz; Fri, 17 Apr 2020 23:51:17 -0700 (PDT) X-Google-Smtp-Source: APiQypKsebSUxFGhtC4w1BD1zH8clQ+aJl2C8nbPjqSHE39iHhui6fgxT0dkiQz1Lo3w9RpSo8fv X-Received: by 2002:a17:906:695:: with SMTP id u21mr6326738ejb.187.1587192676987; Fri, 17 Apr 2020 23:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587192676; cv=none; d=google.com; s=arc-20160816; b=fsymnekKju/rpP3BtyfaYHjT8q6GrsykPBkJBBnms2z5wEFY5ZarhobjQt6zM8aYZY SmzWp8IpHrep70UyGTrIZSx7aY/oXBD4wn6P8hbJ9vSjSeo288a0Cu52Xt4S2KS1A9Ps pTzl1eAZrOep7cFaan/rG6ppeFtRYPS+X+IH5N4+iusf2WH0XyNoQ+EG6xYyuP6JgDVC xYRNHDnTZRKgtQq3oqb4dDNmAQdV+piU7w4ECY5MzAyil2HSFruasPNxgBt9orXencss RvHIKnCbipavt3+1MMduVhJP8UdlTTPqPj6HhF5eFQutEbTKO44SbS6Y42FQKjuLeieX H6AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=3QGlzrF6fhUHPkZpHzqHPjwHC8IV+6zlJ9//kn8BJko=; b=qrzhVamNSFeNyMG63Gq0hvnDYE7qjYRU/fLmqUAhAe4eX7uUwUUdSh7j7GB6TEFYhM UZHb54q980rUkq24yWENWDpsdO44Mq9z41zDXdd+3DO61TZCuUlJaQrPqhrWUYuToy/9 r1YmzJeHz7J4kOWxdsXMt8ytQM+vMFp6Eu6KRGd4Ykm0WTxc/yUTm2p3Q8ilvr5dpn8V 8vrSrE/2OcFpUhdUZEdLWcNEip6sgzg/Ao5W8zTREnQjaGlmyimMAocCAg0iOLt+9CH2 A5qcri6hfPHlpvbXcRn0LtyUgu63az0WBz7Mpsxp1VYdhYmE6+Yhuvo0afFFz0aJkhw7 RvOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e3si12225747edn.23.2020.04.17.23.50.54; Fri, 17 Apr 2020 23:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726408AbgDRGs7 (ORCPT + 99 others); Sat, 18 Apr 2020 02:48:59 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54198 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725987AbgDRGsW (ORCPT ); Sat, 18 Apr 2020 02:48:22 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1734FD424A09ACE620F8; Sat, 18 Apr 2020 14:48:20 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Sat, 18 Apr 2020 14:48:10 +0800 From: Huazhong Tan To: CC: , , , , , , Guojia Liao , Huazhong Tan Subject: [PATCH net-next 05/10] net: hns3: remove two unused structures in hclge_cmd.h Date: Sat, 18 Apr 2020 14:47:04 +0800 Message-ID: <1587192429-11463-6-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1587192429-11463-1-git-send-email-tanhuazhong@huawei.com> References: <1587192429-11463-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guojia Liao struct hclge_mac_vlan_remove_cmd and hclge_mac_vlan_add_cmd are unused. So removes them from hclge_cmd.h. Signed-off-by: Guojia Liao Signed-off-by: Huazhong Tan --- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 25 ---------------------- 1 file changed, 25 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h index 96498d9..90e422ef 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h @@ -733,31 +733,6 @@ struct hclge_mac_mgr_tbl_entry_cmd { u8 rsv3[2]; }; -struct hclge_mac_vlan_add_cmd { - __le16 flags; - __le16 mac_addr_hi16; - __le32 mac_addr_lo32; - __le32 mac_addr_msk_hi32; - __le16 mac_addr_msk_lo16; - __le16 vlan_tag; - __le16 ingress_port; - __le16 egress_port; - u8 rsv[4]; -}; - -#define HNS3_MAC_VLAN_CFG_FLAG_BIT 0 -struct hclge_mac_vlan_remove_cmd { - __le16 flags; - __le16 mac_addr_hi16; - __le32 mac_addr_lo32; - __le32 mac_addr_msk_hi32; - __le16 mac_addr_msk_lo16; - __le16 vlan_tag; - __le16 ingress_port; - __le16 egress_port; - u8 rsv[4]; -}; - struct hclge_vlan_filter_ctrl_cmd { u8 vlan_type; u8 vlan_fe; -- 2.7.4