From 28f60e52914222e97599c0f745c88faeb030b3b0 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sun, 31 Jan 2021 17:02:55 +0100 Subject: [PATCH] cleanup: avoid compiler warnings --- src/bin/pmt.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/bin/pmt.rs b/src/bin/pmt.rs index 38a52167..d1d7e4ee 100644 --- a/src/bin/pmt.rs +++ b/src/bin/pmt.rs @@ -11,8 +11,6 @@ /// - support volume statistics /// - read cartridge memory -use std::fs::File; - use anyhow::{bail, Error}; use serde_json::Value; @@ -25,19 +23,13 @@ use proxmox::{ }; use proxmox_backup::{ - tools::sgutils2::{ - scsi_inquiry, - }, config::{ self, drive::complete_drive_name, }, - backup::Fingerprint, api2::types::{ LINUX_DRIVE_PATH_SCHEMA, DRIVE_NAME_SCHEMA, - TAPE_ENCRYPTION_KEY_FINGERPRINT_SCHEMA, - MEDIA_SET_UUID_SCHEMA, LinuxTapeDrive, }, tape::{ @@ -47,8 +39,7 @@ use proxmox_backup::{ TapeDriver, LinuxTapeHandle, open_linux_tape_device, - check_tape_is_linux_tape_device, - }, + }, }, };