ALSA: virtio: remove duplicate check if queue is broken
authorLi RongQing <lirongqing@baidu.com>
Wed, 24 Jan 2024 12:08:34 +0000 (20:08 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Jan 2024 13:41:37 +0000 (14:41 +0100)
commitd62ccb59afcd94e8d301433974672b156392289d
treebe554a75b77924fe6ba4a11c203d8c9c15e67ecb
parent7c4298534ce3c4b85099aba53442ec82ef17578b
ALSA: virtio: 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>
Link: https://lore.kernel.org/r/20240124120834.49410-1-lirongqing@baidu.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/virtio/virtio_card.c
sound/virtio/virtio_ctl_msg.c
sound/virtio/virtio_pcm_msg.c