util/vhost-user-server: drop unnecessary watch deletion
commitdad4f19431653abf2a576ed062f8de4223eb228b
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 24 Sep 2020 15:15:40 +0000 (24 16:15 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 23 Oct 2020 12:42:16 +0000 (23 13:42 +0100)
treedb4bae7702849f5468307e5eb35657cdac71fe90
parent46a096c87a6464dfbdd71a89e2143c55ef45395c
util/vhost-user-server: drop unnecessary watch deletion

Explicitly deleting watches is not necessary since libvhost-user calls
remove_watch() during vu_deinit(). Add an assertion to check this
though.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200924151549.913737-5-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/vhost-user-server.c