tape: remove unused eject_on_unload method

This commit is contained in:
Dietmar Maurer
2021-01-10 16:20:18 +01:00
parent 04df41cec1
commit 6638c034d2
4 changed files with 1 additions and 24 deletions

View File

@ -454,10 +454,6 @@ impl MediaChange for VirtualTapeHandle {
Ok(())
}
fn eject_on_unload(&self) -> bool {
true
}
fn clean_drive(&mut self) -> Result<(), Error> {
Ok(())
}
@ -504,10 +500,6 @@ impl MediaChange for VirtualTapeDrive {
Ok(())
}
fn eject_on_unload(&self) -> bool {
true
}
fn online_media_changer_ids(&mut self) -> Result<Vec<String>, Error> {
let handle = self.open()?;
handle.online_media_changer_ids()