pciehp: cleanup pcie_poll_cmd
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 20 Jun 2008 03:04:33 +0000 (12:04 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 25 Jun 2008 22:54:30 +0000 (15:54 -0700)
Cleanup pcie_poll_cmd(): check the slot status once before entering our
completion test loop and convert the loop to a simpler while() block.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found