projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b431bec
)
qlcnic: remove redundant D0 power state set
author
Yijing Wang
<
[email protected]
>
Thu, 30 May 2013 00:26:09 +0000
(
00:26
+0000)
committer
David S. Miller
<
[email protected]
>
Fri, 31 May 2013 08:39:08 +0000
(
01:39
-0700)
pci_enable_device() will set device power state to D0,
so it's no need to do it again in qlcnic_attach_func().
Signed-off-by: Yijing Wang <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
index 6bb56d43614b111afb101736794a3395d0bd172f..0ae88355ad51357072cf9d6000b6586b30487b72 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
+++ b/
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
@@
-3232,7
+3232,6
@@
static int qlcnic_attach_func(struct pci_dev *pdev)
if (err)
return err;
- pci_set_power_state(pdev, PCI_D0);
pci_set_master(pdev);
pci_restore_state(pdev);