diff options
author | Guojia Liao <liaoguojia@huawei.com> | 2020-09-08 10:59:54 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-08 19:51:41 -0700 |
commit | 2c7bcc1de15306dea4d6a842950bd0f9b720df35 (patch) | |
tree | d8b544731a6f79c94343f38fb9615f571bedd63d /drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | |
parent | net: hns3: remove some unused macros related to queue (diff) | |
download | linux-dev-2c7bcc1de15306dea4d6a842950bd0f9b720df35.tar.xz linux-dev-2c7bcc1de15306dea4d6a842950bd0f9b720df35.zip |
net: hns3: remove some unused function hns3_update_promisc_mode()
hns3_update_promisc_mode is defined, but not be used, so remove it.
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index cef6f9a24b8e..98ca6ead0b7d 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -601,7 +601,6 @@ void hns3_set_vector_coalesce_rl(struct hns3_enet_tqp_vector *tqp_vector, u32 rl_value); void hns3_enable_vlan_filter(struct net_device *netdev, bool enable); -int hns3_update_promisc_mode(struct net_device *netdev, u8 promisc_flags); void hns3_request_update_promisc_mode(struct hnae3_handle *handle); #ifdef CONFIG_HNS3_DCB |