bnx2x: Use pci_wait_for_pending_transaction() instead of for loop
New routine has been added to avoid duplication of code to wait for pending PCI transactions to complete. This makes use of that routine. Signed-off-by: NCasey Leedom <leedom@chelsio.com> Signed-off-by: NVipul Pandya <vipul@chelsio.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Acked-by: NEilon Greenstein <eilong@broadcom.com> Acked-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录