netkvm/NDIS5: Remove all uses of virtio_set_queue_event_suppression()
The function has no effect and will be removed.
@@ -1106,7 +1106,7 @@ static int PrepareReceiveBuffers(PARANDIS_ADAPTER *pContext)
static NDIS_STATUS FindNetQueues(PARANDIS_ADAPTER *pContext)
{
struct virtqueue *queues[3];
- unsigned i, nvqs = pContext->bHasControlQueue ? 3 : 2;
+ unsigned nvqs = pContext->bHasControlQueue ? 3 : 2;
NTSTATUS status;
// We work with two or three virtqueues, 0 - receive, 1 - send, 2 - control
@@ -1119,13 +1119,6 @@ static NDIS_STATUS FindNetQueues(PARANDIS_ADAPTER *pContext)
return NTStatusToNdisStatus(status);
}
- // set interrupt suppression flags
- for (i = 0; i < nvqs; i++) {
- virtio_set_queue_event_suppression(
- queues[i],
- pContext->bDoPublishIndices);
- }
-
pContext->NetReceiveQueue = queues[0];
pContext->NetSendQueue = queues[1];
if (pContext->bHasControlQueue) {
