Skip to content

Commit

Permalink
src/spdm: remove as_any() for SpdmDeviceIo
Browse files Browse the repository at this point in the history
Since remove the downcast in Cargo.toml, need to remove as_any().

Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
  • Loading branch information
sunceping committed Sep 11, 2023
1 parent ab5f4d9 commit 24f4c78
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/spdm/src/vtpm_io_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,4 @@ impl SpdmDeviceIo for VtpmIoTransport {
Ok(())
}

fn as_any(&mut self) -> &mut dyn core::any::Any {
todo!()
}
}

0 comments on commit 24f4c78

Please sign in to comment.