virtio_fs: remove duplicate check if queue is broken
authorLi RongQing <lirongqing@baidu.com>
Mon, 15 Jan 2024 03:09:14 +0000 (11:09 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 5 Mar 2024 12:40:43 +0000 (13:40 +0100)
commitf9c29137392e77319f9974c2cdf27d087f05abee
tree0f79ee2c209b9ef6f07cc57f826ad3898b754c19
parent253e52437119719eb87293ef6852e13bb5ad0960
virtio_fs: remove duplicate check if queue is broken

virtqueue_enable_cb() will call virtqueue_poll() which will check if
queue is broken at beginning, so remove the virtqueue_is_broken() call

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/virtio_fs.c