]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee418186bf58c01f6c2f8910dafb8e253953a6f8
tree2bca48b4bad12fcd0605875e35e624e6ec661fa7
parent448aa0d517cd74f2ce11809e9888c9622ad6fb6b
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