alx: remove redundant D0 power state set
authorYijing Wang <wangyijing@huawei.com>
Wed, 11 Sep 2013 02:07:00 +0000 (10:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Sep 2013 00:10:41 +0000 (20:10 -0400)
commitc3eb7a771dcd2b27c02f4711545ac6785f66afc5
treee17abda50eb75e2f92c9698874679b3781bf96de
parent922bbe88c1ae6903f9a628c2fac2db81748527d8
alx: remove redundant D0 power state set

Pci_enable_device_mem() will set device power state to D0,
so it's no need to do it again in alx_probe().
Also remove redundant PM Cap find code, because pci core
has been saved the pci device pm cap value.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c