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:
Viresh Kumar 2022-10-11 15:39:56 +05:30
parent 1fb0e441a7
commit 57162428cb
2 changed files with 0 additions and 4 deletions

View File

@ -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}")]

View File

@ -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 {