summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-09-11 10:07:00 +0800
committerDavid S. Miller <davem@davemloft.net>2013-09-13 20:10:41 -0400
commitc3eb7a771dcd2b27c02f4711545ac6785f66afc5 (patch)
treee17abda50eb75e2f92c9698874679b3781bf96de /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parent922bbe88c1ae6903f9a628c2fac2db81748527d8 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions