aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2021-06-02 11:31:27 +0800
committerJason Wang <jasowang@redhat.com>2021-06-11 10:30:13 +0800
commit1b031172119c8996af5fa84b6e10627ea4122d64 (patch)
tree2cee870341f5e516b676cd964c9ff56a834dbd4f /net
parentc33f23a419f95da16ab4faaf08be635c89b96ff0 (diff)
vhost-vdpa: remove the unused vhost_vdpa_get_acked_features()
No user for this helper, let's remove it. Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/vhost-vdpa.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index 8b14215549..19187dce8c 100644
--- a/net/vhost-vdpa.c
+++ b/net/vhost-vdpa.c
@@ -68,15 +68,6 @@ VHostNetState *vhost_vdpa_get_vhost_net(NetClientState *nc)
return s->vhost_net;
}
-uint64_t vhost_vdpa_get_acked_features(NetClientState *nc)
-{
- VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc);
- assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_VDPA);
- s->acked_features = vhost_net_get_acked_features(s->vhost_net);
-
- return s->acked_features;
-}
-
static int vhost_vdpa_net_check_device_id(struct vhost_net *net)
{
uint32_t device_id;