]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit820943b6fc4781621dee52ba026106758a727dd3
tree7431080b202ecad216358bb24a89b7834bbdbc62
parentb30dd56d1c3786fb0c4e442a58d9a2ea78eeabb9
pciehp: cleanup pcie_poll_cmd

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>
drivers/pci/hotplug/pciehp_hpc.c