mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-13 19:30:38 +00:00
Remove unused types
Started getting warnings for unused definitions as soon as the types are made private to the crate. Remove them now. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
parent
1fb0e441a7
commit
57162428cb
@ -29,8 +29,6 @@ type Result<T> = std::result::Result<T, Error>;
|
||||
pub(crate) enum Error {
|
||||
#[error("Invalid socket count: {0}")]
|
||||
SocketCountInvalid(usize),
|
||||
#[error("Invalid device list")]
|
||||
DeviceListInvalid,
|
||||
#[error("Duplicate adapter detected: {0}")]
|
||||
AdapterDuplicate(u32),
|
||||
#[error("Invalid client address: {0}")]
|
||||
|
||||
@ -55,8 +55,6 @@ pub(crate) enum VuRngError {
|
||||
UnexpectedRngSourceError,
|
||||
#[error("Previous Time value is later than current time")]
|
||||
UnexpectedTimerValue,
|
||||
#[error("Unexpected VirtQueue error")]
|
||||
UnexpectedVirtQueueError,
|
||||
}
|
||||
|
||||
impl convert::From<VuRngError> for io::Error {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user