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 /include/linux/hp_sdc.h | |
parent | 9e5d0b16dada536dfe2f1e893b6ad0225ff8a2c9 (diff) |
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 'include/linux/hp_sdc.h')
0 files changed, 0 insertions, 0 deletions