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

@ -94,16 +94,9 @@ pub trait MediaChange {
self.load_media_from_slot(slot as u64)
}
/// Unload media from drive
///
/// This is a nop on drives without autoloader.
/// Unload media from drive (eject media if necessary)
fn unload_media(&mut self, target_slot: Option<u64>) -> Result<(), Error>;
/// Returns true if unload_media automatically ejects drive media
fn eject_on_unload(&self) -> bool {
false
}
/// List online media changer IDs (barcodes)
///
/// List acessible (online) changer IDs. This does not include