mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 06:32:50 +00:00
net: hns3: remove two unused structures in hclge_cmd.h
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 <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
16505f878e
commit
f84f6a8634
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user