]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: bcmgenet: remove wol_enabled conditional code
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 Jul 2014 22:29:19 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 23:04:30 +0000 (16:04 -0700)
commitef3d4f11dbb9d65ef2a70c7929467e3f0e7b8399
tree644ec6308a42885ebcb9f9a1ec9d8e3b8c08781a
parent575a19354c80fde236382755592256d30d2a27fb
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>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h