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

From: Larry Finger
Date: Sat Jun 04 2016 - 17:23:37 EST

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@xxxxxxxxx> [0-day test robot]
Cc: Michael BÃsch <m@xxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
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.