aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r--drivers/vhost/vhost.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 46822c0d9f7f..c16d22545868 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -1578,7 +1578,6 @@ struct vhost_ubuf_ref *vhost_ubuf_alloc(struct vhost_virtqueue *vq,
1578 if (!ubufs) 1578 if (!ubufs)
1579 return ERR_PTR(-ENOMEM); 1579 return ERR_PTR(-ENOMEM);
1580 kref_init(&ubufs->kref); 1580 kref_init(&ubufs->kref);
1581 kref_get(&ubufs->kref);
1582 init_waitqueue_head(&ubufs->wait); 1581 init_waitqueue_head(&ubufs->wait);
1583 ubufs->vq = vq; 1582 ubufs->vq = vq;
1584 return ubufs; 1583 return ubufs;