PCI: portdrv: remove redundant pcie type calculation
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 25 Nov 2009 12:02:13 +0000 (21:02 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Dec 2009 23:55:26 +0000 (15:55 -0800)
commit2dd60e96b4d52bccd2dd585e776a3449d7b34b8f
tree917f339b7542be53ec3b64c12a221d5e6700eec1
parent52a0f24beabe9e89223e367c65a0156dff17265c
PCI: portdrv: remove redundant pcie type calculation

PCIe port type is already stored in 'pcie_type' field of struct
pci_dev. So we don't need to get it from pci configuration space.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_core.c