[PATCH] b43: Remove unused phy_a code

Guenter Roeck linux at roeck-us.net
Fri Jun 3 17:50:00 PDT 2016


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




More information about the b43-dev mailing list