net: bcmgenet: remove wol_enabled conditional code
Checking for wol_enabled in bcmgenet_close() is bogus, since no other code places set priv->wol_enabled. Remove that as it will conflict with the upcoming and functional Wake-on-LAN implementation. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
575a19354c
commit
ef3d4f11db
@@ -583,7 +583,6 @@ struct bcmgenet_priv {
|
||||
struct platform_device *pdev;
|
||||
|
||||
/* WOL */
|
||||
unsigned long wol_enabled;
|
||||
struct clk *clk_wol;
|
||||
u32 wolopts;
|
||||
|
||||
|
Reference in New Issue
Block a user