Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3159044ybz; Sun, 19 Apr 2020 19:20:28 -0700 (PDT) X-Google-Smtp-Source: APiQypK3eSXQLnXOgQRpYeh8kpcy8LFwS/Czi01HD6VteHayQuUzWN4aaYuOkqaR97TiWo94wTre X-Received: by 2002:a50:9f8f:: with SMTP id c15mr11628626edf.377.1587349228789; Sun, 19 Apr 2020 19:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587349228; cv=none; d=google.com; s=arc-20160816; b=jCU+tRbjCEPZw+4bhHAmoVL9RpqbFCpUc8giX5gMDbOVNZj6vs8arr1exZAI3cGyK+ 1re3W/MVV9kVzz/pFvuZX/yhCTa0yqqIfIky6th4mcpmXKavs8htokGHoSfkNbaMoHBJ hOpjaNvQ8UVuPj4/W3zdUO9/3I1alHp+eaWaHuqqC0Bt1vH5WStP0Cb18yJsdMg08X9E JxqR1C3HPwdJwdUg5Mo4tC5Gdd4qw7nBFnYzgz+Mtq6z7R8KY1lkJBxJ29I12kkD8Kjh X3+IPOjY6Y0TR/0ukoR1GF24dDbV971VwLnaWGrvGAM5SJX1P/gLDVHX+7NbVQA1RIMp DQrw== 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=p6qGJuKPAyzrTIaJfZA1z/ynl48YMBGIOU0tBDGmajyaxlVQUEluubd5c8/YPD0Jon GkrL9NLMWU/PKa4o5fZGk8MLwtr4uBhtl/ANjVit3fRqbjijs3qU9Vk0eSe/7yFkzCDe r6cJjS1vIv/cqh0FWI/Zn3vvaWT/KB7QH5IPXRsoLzgabSh67mYpEUUlaPFJPNneiT7k CtYBQjdMk/La0aWyOs0J7/PvKJAygunlLHMSl0bIyWEONcMoThrr/HYA2Ajt7Z6zpgFU l5qThhVDbQrR4fvI6kfhWXOv86PTEm+uMqwr6EHR/4Brtf3nF7LCLyMuPAm6g7MhYpqy QJEg== 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 o5si18805907ejr.501.2020.04.19.19.20.05; Sun, 19 Apr 2020 19:20:28 -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 S1726405AbgDTCSw (ORCPT + 99 others); Sun, 19 Apr 2020 22:18:52 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2802 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726353AbgDTCSs (ORCPT ); Sun, 19 Apr 2020 22:18:48 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 47B3A8E84D34B30889E9; Mon, 20 Apr 2020 10:18:45 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Mon, 20 Apr 2020 10:18:34 +0800 From: Huazhong Tan To: CC: , , , , , , Guojia Liao , Huazhong Tan Subject: [PATCH V2 net-next 05/10] net: hns3: remove two unused structures in hclge_cmd.h Date: Mon, 20 Apr 2020 10:17:30 +0800 Message-ID: <1587349055-4403-6-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1587349055-4403-1-git-send-email-tanhuazhong@huawei.com> References: <1587349055-4403-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