Remove redundant from backend

This commit is contained in:
mitchmindtree 2019-12-14 16:48:43 +01:00
parent 37d80b98cf
commit 27245444a7
1 changed files with 1 additions and 10 deletions

View File

@ -1,5 +1,3 @@
#![allow(dead_code)]
use BuildStreamError;
use DefaultFormatError;
use DevicesError;
@ -19,8 +17,6 @@ pub struct Devices;
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Device;
pub struct EventLoop;
pub struct Host;
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
@ -30,6 +26,7 @@ pub struct SupportedInputFormats;
pub struct SupportedOutputFormats;
impl Host {
#[allow(dead_code)]
pub fn new() -> Result<Self, crate::HostUnavailable> {
Ok(Host)
}
@ -41,12 +38,6 @@ impl Devices {
}
}
impl EventLoop {
pub fn new() -> EventLoop {
EventLoop
}
}
impl DeviceTrait for Device {
type SupportedInputFormats = SupportedInputFormats;
type SupportedOutputFormats = SupportedOutputFormats;