Messages in this thread | | | Date | Mon, 26 Sep 2016 02:24:49 -0400 (EDT) | Subject | Re: [PATCH] net: bcmgenet: remove unused function in bcmgenet.c | From | David Miller <> |
| |
From: Baoyou Xie <baoyou.xie@linaro.org> Date: Sun, 25 Sep 2016 14:23:15 +0800
> 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>
Applied.
| |