mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Remove redundant "use" imports
With the nightly toolchain (2024-02-18) cargo check will flag up redundant imports either because they are pulled in by the prelude on earlier match. Remove those redundant imports. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
@@ -9,7 +9,6 @@ use crate::{TPM_CRB_BUFFER_MAX, TPM_SUCCESS};
|
||||
use anyhow::anyhow;
|
||||
use libc::c_void;
|
||||
use libc::{sockaddr_storage, socklen_t};
|
||||
use std::convert::TryInto;
|
||||
use std::os::unix::io::RawFd;
|
||||
use std::path::Path;
|
||||
use std::{mem, ptr};
|
||||
|
||||
@@ -10,7 +10,6 @@ pub mod emulator;
|
||||
pub mod socket;
|
||||
|
||||
use anyhow::anyhow;
|
||||
use std::convert::TryInto;
|
||||
use thiserror::Error;
|
||||
|
||||
pub const TPM_CRB_BUFFER_MAX: usize = 3968; // 0x1_000 - 0x80
|
||||
|
||||
Reference in New Issue
Block a user