Fix possible infinite loop in remote driver
Fix possible infinite loop in remote driver

When we take out completed calls from queue we might end up
in circular pointer. We don't want pointer to previous item
point to element taken out.
(cherry picked from commit 50e4b9195d2d8b46969940336b44221b500a2de3)

Signed-off-by: Steve Hodgson <eb20a6615749cf04ff61aa37e18f749ed6d01446@solarflare.com>

sshah-solarflare/Libvirt-PCI-passthrough-,sshah-solarflare/Libvirt-PCI-passthrough-,sshah-solarflare/Libvirt-PCI-passthrough-,sshah-solarflare/Libvirt-PCI-passthrough-,sshah-solarflare/Libvirt-PCI-passthrough-