diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-11-25 21:03:27 +0900 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-12-04 15:55:44 -0800 |
commit | d013598d9a46befebdfd37195829ce411e4878ea (patch) | |
tree | 92d461ff66a29cbf9b23af2570de4a99ad9a16c6 /drivers/pci/pci-stub.c | |
parent | 9e5d0b16dada536dfe2f1e893b6ad0225ff8a2c9 (diff) | |
download | kernel_samsung_crespo-d013598d9a46befebdfd37195829ce411e4878ea.zip kernel_samsung_crespo-d013598d9a46befebdfd37195829ce411e4878ea.tar.gz kernel_samsung_crespo-d013598d9a46befebdfd37195829ce411e4878ea.tar.bz2 |
PCI: portdrv: check capabilities first
Move capability check capability to the beginning of
pcie_port_device_register() prevents redundant execution path.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions