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...@intel.com> [0-day test robot]
Cc: Michael Büsch <m...@bues.ch>
Signed-off-by: Guenter Roeck <li...@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

Reply via email to