net: bcmgenet: remove unused function in bcmgenet.c
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 25 Sep 2016 06:23:15 +0000 (14:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2016 06:23:45 +0000 (02:23 -0400)
commite2072600a24161b7ddcfb26814f69f5fbc8ef85a
tree2bca48b4bad12fcd0605875e35e624e6ec661fa7
parent50935857f878c014d92be49cbf651bcfbfdacdc0
net: bcmgenet: remove unused function in bcmgenet.c

We get 1 warning when building kernel with W=1:
drivers/net/ethernet/broadcom/genet/bcmgenet.c:2763:5: warning: no previous prototype for 'bcmgenet_hfb_add_filter' [-Wmissing-prototypes]

In fact, this function is implemented in
drivers/net/ethernet/broadcom/genet/bcmgenet.c, but be called
by no one, thus can be removed.

So this patch removes the unused functions.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c