OSDN Git Service

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)
commit4f416db98beaef2f047709e4693b0a4c64d9bbf8
tree2fb120b1ed5c3eb2dcae0bb5e941f34be1a436df
parent6e86000c2c63123e174b7e198735fbb12f0258ea
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: 3a678b5806e6 ("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