Re: [PATCH] b43: Remove unused phy_a code

From: Guenter Roeck
Date: Fri Jun 03 2016 - 20:50:04 EST


On 06/03/2016 02:35 PM, Michael Büsch wrote:
On Fri, 3 Jun 2016 14:32:46 -0700
Guenter Roeck <linux@xxxxxxxxxxxx> 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

Turns out a lot of code in this file is unused, so let's remove it.


All a-phy code is usused.
So you can basically remove the whole file and any other A-PHY code.

I love removing code. I'll resend with more code removed.

Guenter