]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove unused hclgevf_cfg_func_mta_filter
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Jun 2018 11:38:21 +0000 (13:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2018 16:26:06 +0000 (12:26 -0400)
commitc5e46948f7642c6d3de8a2645373d61b156a0e5e
tree2fb120b1ed5c3eb2dcae0bb5e941f34be1a436df
parentdca54ceb865f3a2a9e19f4dc728f91d29008f293
net: hns3: remove unused hclgevf_cfg_func_mta_filter

The last patch apparently added a complete replacement for this
function, but left the old one in place, which now causes a
harmless warning:

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c:731:12: 'hclgevf_cfg_func_mta_filter' defined but not used

I assume it can be removed.

Fixes: bb9636e00d15 ("net: hns3: Optimize the VF's process of updating multicast MAC")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c