diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-03 10:02:09 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-25 15:43:44 -0600 |
commit | 115e3bc5e23e7ec3c85a2014bfa96c0ddd036083 (patch) | |
tree | b88300607f7283f8a1f31b70586eec7a7612c21f /drivers/pci | |
parent | a37bee7956ab34785815aafbe9f920c2cfd02b97 (diff) | |
download | op-kernel-dev-115e3bc5e23e7ec3c85a2014bfa96c0ddd036083.zip op-kernel-dev-115e3bc5e23e7ec3c85a2014bfa96c0ddd036083.tar.gz |
PCI: Remove unused "is_pcie" from pci_dev structure
No one uses "is_pcie" now; remove this obsolete member.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/probe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 7ef0f86..2372bab 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -984,7 +984,6 @@ void set_pcie_port_type(struct pci_dev *pdev) pos = pci_find_capability(pdev, PCI_CAP_ID_EXP); if (!pos) return; - pdev->is_pcie = 1; pdev->pcie_cap = pos; pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); pdev->pcie_flags_reg = reg16; |