cleanup: avoid compiler warnings
This commit is contained in:
parent
1f31d06f48
commit
28f60e5291
@ -11,8 +11,6 @@
|
|||||||
/// - support volume statistics
|
/// - support volume statistics
|
||||||
/// - read cartridge memory
|
/// - read cartridge memory
|
||||||
|
|
||||||
use std::fs::File;
|
|
||||||
|
|
||||||
use anyhow::{bail, Error};
|
use anyhow::{bail, Error};
|
||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
|
|
||||||
@ -25,19 +23,13 @@ use proxmox::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
use proxmox_backup::{
|
use proxmox_backup::{
|
||||||
tools::sgutils2::{
|
|
||||||
scsi_inquiry,
|
|
||||||
},
|
|
||||||
config::{
|
config::{
|
||||||
self,
|
self,
|
||||||
drive::complete_drive_name,
|
drive::complete_drive_name,
|
||||||
},
|
},
|
||||||
backup::Fingerprint,
|
|
||||||
api2::types::{
|
api2::types::{
|
||||||
LINUX_DRIVE_PATH_SCHEMA,
|
LINUX_DRIVE_PATH_SCHEMA,
|
||||||
DRIVE_NAME_SCHEMA,
|
DRIVE_NAME_SCHEMA,
|
||||||
TAPE_ENCRYPTION_KEY_FINGERPRINT_SCHEMA,
|
|
||||||
MEDIA_SET_UUID_SCHEMA,
|
|
||||||
LinuxTapeDrive,
|
LinuxTapeDrive,
|
||||||
},
|
},
|
||||||
tape::{
|
tape::{
|
||||||
@ -47,8 +39,7 @@ use proxmox_backup::{
|
|||||||
TapeDriver,
|
TapeDriver,
|
||||||
LinuxTapeHandle,
|
LinuxTapeHandle,
|
||||||
open_linux_tape_device,
|
open_linux_tape_device,
|
||||||
check_tape_is_linux_tape_device,
|
},
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user