[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160926.022449.1500775270978919331.davem@davemloft.net>
Date: Mon, 26 Sep 2016 02:24:49 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: baoyou.xie@...aro.org
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, arnd@...db.de, xie.baoyou@....com.cn
Subject: Re: [PATCH] net: bcmgenet: remove unused function in bcmgenet.c
From: Baoyou Xie <baoyou.xie@...aro.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@...aro.org>
Applied.
Powered by blists - more mailing lists