diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-11-25 15:03:27 +0300 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-12-05 02:55:44 +0300 |
commit | d013598d9a46befebdfd37195829ce411e4878ea (patch) | |
tree | 92d461ff66a29cbf9b23af2570de4a99ad9a16c6 /security | |
parent | 9e5d0b16dada536dfe2f1e893b6ad0225ff8a2c9 (diff) | |
download | linux-d013598d9a46befebdfd37195829ce411e4878ea.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions