diff options
author | Andrey Ryabinin <arbn@yandex-team.com> | 2022-05-17 13:08:46 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-05-31 12:45:10 -0400 |
commit | c5514758ddd9a774d879b098bf7364c45a76bed5 (patch) | |
tree | d41ccdc048c762b7a6ecc3501ce00a4ba1bdade3 /crypto/ecrdsa_defs.h | |
parent | 2c029f3298594c5160ae1036f03db607fa891484 (diff) |
vhost_test: remove vhost_test_flush_vq()
vhost_test_flush_vq() just a simple wrapper around vhost_work_dev_flush()
which seems have no value. It's just easier to call vhost_work_dev_flush()
directly. Besides there is no point in obtaining vhost_dev pointer
via 'n->vqs[index].poll.dev' while we can just use &n->dev.
It's the same pointers, see vhost_test_open()/vhost_dev_init().
Signed-off-by: Andrey Ryabinin <arbn@yandex-team.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220517180850.198915-5-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'crypto/ecrdsa_defs.h')
0 files changed, 0 insertions, 0 deletions