From 501cb7c1d3bdef054e0ec41f5225d16a297b3e3e Mon Sep 17 00:00:00 2001 From: "Surply, Pierre" Date: Mon, 10 Mar 2025 21:54:51 +0100 Subject: [PATCH] lib: remove unused method The PVSS can be derived from a record header by using the Header::pvss() method instead. Signed-off-by: Surply, Pierre --- lib/src/collateral/pvss.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/src/collateral/pvss.rs b/lib/src/collateral/pvss.rs index 1c237fb..914d0eb 100644 --- a/lib/src/collateral/pvss.rs +++ b/lib/src/collateral/pvss.rs @@ -1,7 +1,6 @@ // Copyright (C) 2025 Intel Corporation // SPDX-License-Identifier: MIT -use crate::header::Header; #[cfg(not(feature = "std"))] use alloc::{fmt, string::String}; #[cfg(feature = "std")] @@ -33,16 +32,6 @@ impl Default for PVSS { } } -impl PVSS { - pub fn from_header(_header: &Header) -> Self { - PVSS { - product: "XYZ".into(), - variant: "all".into(), - ..PVSS::default() - } - } -} - #[cfg(feature = "std")] impl From<&PVSS> for PathBuf { fn from(pvss: &PVSS) -> Self {