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)
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>

No differences found