diff --git a/test/spdm-responder-emu/src/main.rs b/test/spdm-responder-emu/src/main.rs index 481a865..19abd8a 100644 --- a/test/spdm-responder-emu/src/main.rs +++ b/test/spdm-responder-emu/src/main.rs @@ -30,7 +30,6 @@ use tdisp::pci_tdisp::{ use tdisp::pci_tdisp_responder::pci_tdisp_rsp_dispatcher; use std::net::{TcpListener, TcpStream}; -use std::u32; use codec::{Codec, Reader, Writer}; use common::SpdmTransportEncap; @@ -145,9 +144,6 @@ fn emu_main_inner() { spdmlib::secret::psk::register(SECRET_PSK_IMPL_INSTANCE.clone()); let tdisp_rsp_context = DeviceContext { - bus: 0x2a, - device: 0x00, - function: 0x00, negotiated_version: None, interface_id: InterfaceId { function_id: FunctionId { diff --git a/test/spdm-responder-emu/src/spdm_device_tdisp_example.rs b/test/spdm-responder-emu/src/spdm_device_tdisp_example.rs index 14e96c3..a2705fa 100644 --- a/test/spdm-responder-emu/src/spdm_device_tdisp_example.rs +++ b/test/spdm-responder-emu/src/spdm_device_tdisp_example.rs @@ -130,9 +130,6 @@ impl Codec for TdiReportStructure { #[derive(Debug, Clone)] pub struct DeviceContext { - pub bus: u8, - pub device: u8, - pub function: u8, pub negotiated_version: Option, pub interface_id: InterfaceId, pub dsm_caps: u32,