diff options
author | Longpeng <longpeng2@huawei.com> | 2022-12-27 15:20:13 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-01-08 01:54:22 -0500 |
commit | 8771589b6f81d66969808460fddf5a85b2237ac4 (patch) | |
tree | 37b67c881fcadf8c2bf59a2fec24dc6b2efabd27 /fsdev/9p-marshal.h | |
parent | bf7a2ad8b6dfab4adb40db44022e4c424b56421e (diff) | |
download | qemu-8771589b6f81d66969808460fddf5a85b2237ac4.zip qemu-8771589b6f81d66969808460fddf5a85b2237ac4.tar.gz qemu-8771589b6f81d66969808460fddf5a85b2237ac4.tar.bz2 |
vhost: simplify vhost_dev_enable_notifiers
Simplify the error path in vhost_dev_enable_notifiers by using
vhost_dev_disable_notifiers directly.
Signed-off-by: Longpeng <longpeng2@huawei.com>
Message-Id: <20221227072015.3134-2-longpeng2@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'fsdev/9p-marshal.h')
0 files changed, 0 insertions, 0 deletions