diff options
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a644eebb31d8..68d64f0313ea 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -1347,7 +1347,7 @@ static int virtnet_alloc_queues(struct virtnet_info *vi) | |||
1347 | if (!vi->sq) | 1347 | if (!vi->sq) |
1348 | goto err_sq; | 1348 | goto err_sq; |
1349 | vi->rq = kzalloc(sizeof(*vi->rq) * vi->max_queue_pairs, GFP_KERNEL); | 1349 | vi->rq = kzalloc(sizeof(*vi->rq) * vi->max_queue_pairs, GFP_KERNEL); |
1350 | if (!vi->sq) | 1350 | if (!vi->rq) |
1351 | goto err_rq; | 1351 | goto err_rq; |
1352 | 1352 | ||
1353 | INIT_DELAYED_WORK(&vi->refill, refill_work); | 1353 | INIT_DELAYED_WORK(&vi->refill, refill_work); |