vhost: remove avail_event arg from vhost_update_avail_event()
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 13 Jan 2022 14:11:34 +0000 (15:11 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 11:06:50 +0000 (06:06 -0500)
commit4c8093637bc9f8cc2e41eed343c12f85d6ff9e25
treecc7612a30e7e76eb48741d06b40a09d0a8d2961e
parente7c552ec897894ec421867059e48474eb7f1ff6d
vhost: remove avail_event arg from vhost_update_avail_event()

In vhost_update_avail_event() we never used the `avail_event` argument,
since its introduction in commit 2723feaa8ec6 ("vhost: set log when
updating used flags or avail event").

Let's remove it to clean up the code.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20220113141134.186773-1-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c