mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 06:32:44 +00:00
sound: remove unused errors
This commits removes error that were unused. These errors correspond with the accesing to descriptors which is now done through Reader/Writer modules. Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
This commit is contained in:
parent
2f3b0b1f38
commit
8ca48ad867
@ -168,14 +168,8 @@ pub enum Error {
|
||||
NoMemoryConfigured,
|
||||
#[error("Invalid virtio_snd_hdr size, expected: {0}, found: {1}")]
|
||||
UnexpectedSoundHeaderSize(usize, u32),
|
||||
#[error("Received unexpected write only descriptor at index {0}")]
|
||||
UnexpectedWriteOnlyDescriptor(usize),
|
||||
#[error("Received unexpected readable descriptor at index {0}")]
|
||||
UnexpectedReadableDescriptor(usize),
|
||||
#[error("Invalid descriptor count {0}")]
|
||||
UnexpectedDescriptorCount(usize),
|
||||
#[error("Invalid descriptor size, expected: {0}, found: {1}")]
|
||||
UnexpectedDescriptorSize(usize, u32),
|
||||
#[error("Protocol or device error: {0}")]
|
||||
Stream(stream::Error),
|
||||
#[error("Stream with id {0} not found")]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user