[PATCH v3 1/2] b43: Remove unused phy_a code

Larry Finger Larry.Finger at lwfinger.net
Sat Jun 4 14:23:27 PDT 2016


On 06/04/2016 09:54 AM, Guenter Roeck wrote:
> gcc-6 reports the following error with -Werror=unused-const-variable.
>
> drivers/net/wireless/broadcom/b43/phy_a.c:576:40: error:
> 	'b43_phyops_a' defined but not used
>
> Per Michael Büsch: "All a-phy code is usused", so remove it all,
> and move the remaining Type-G initialization code into phy_g.c.
>
> Reported-by: Fengguang Wu <fengguang.wu at intel.com> [0-day test robot]
> Cc: Michael Büsch <m at bues.ch>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> ---
> v3: Do not rename b43_phy_inita()
> v2: Remove phy_a.c; move left-over code into phy_g.c
>      Remove now unused data structure

These two patches have been tested on a BCM4318.

Larry




More information about the b43-dev mailing list