virtio_user: remove unused included header file
Change-Id: I905f02008326ea81b747df4559f82ea3def33b3e Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478412 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
e7379fc22f
commit
b6cab776f3
@ -35,12 +35,6 @@
|
|||||||
|
|
||||||
#include <sys/eventfd.h>
|
#include <sys/eventfd.h>
|
||||||
|
|
||||||
#include <linux/virtio_scsi.h>
|
|
||||||
|
|
||||||
#include <rte_config.h>
|
|
||||||
#include <rte_malloc.h>
|
|
||||||
#include <rte_alarm.h>
|
|
||||||
|
|
||||||
#include "virtio_user/vhost.h"
|
#include "virtio_user/vhost.h"
|
||||||
#include "spdk/string.h"
|
#include "spdk/string.h"
|
||||||
#include "spdk/config.h"
|
#include "spdk/config.h"
|
||||||
@ -495,7 +489,7 @@ virtio_user_setup_queue(struct virtio_dev *vdev, struct virtqueue *vq)
|
|||||||
|
|
||||||
desc_addr = (uintptr_t)vq->vq_ring_virt_mem;
|
desc_addr = (uintptr_t)vq->vq_ring_virt_mem;
|
||||||
avail_addr = desc_addr + vq->vq_nentries * sizeof(struct vring_desc);
|
avail_addr = desc_addr + vq->vq_nentries * sizeof(struct vring_desc);
|
||||||
used_addr = RTE_ALIGN_CEIL(avail_addr + offsetof(struct vring_avail,
|
used_addr = SPDK_ALIGN_CEIL(avail_addr + offsetof(struct vring_avail,
|
||||||
ring[vq->vq_nentries]),
|
ring[vq->vq_nentries]),
|
||||||
VIRTIO_PCI_VRING_ALIGN);
|
VIRTIO_PCI_VRING_ALIGN);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user