From 905861780ee0f6556d915a70a7a49371fc1fad2c Mon Sep 17 00:00:00 2001
From: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Date: Thu, 23 Mar 2023 18:09:29 +0100
Subject: [PATCH] Remove Weight::without_{ref_time, proof_size} (#13637)

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
---
 primitives/weights/src/weight_v2.rs | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/primitives/weights/src/weight_v2.rs b/primitives/weights/src/weight_v2.rs
index 76c40c16cb..ca13714592 100644
--- a/primitives/weights/src/weight_v2.rs
+++ b/primitives/weights/src/weight_v2.rs
@@ -74,16 +74,6 @@ impl Weight {
 		&mut self.proof_size
 	}
 
-	/// Return self but discard any reference time.
-	pub const fn without_ref_time(&self) -> Self {
-		Self { ref_time: 0, proof_size: self.proof_size }
-	}
-
-	/// Return self but discard any proof size.
-	pub const fn without_proof_size(&self) -> Self {
-		Self { ref_time: self.ref_time, proof_size: 0 }
-	}
-
 	pub const MAX: Self = Self { ref_time: u64::MAX, proof_size: u64::MAX };
 
 	/// Get the conservative min of `self` and `other` weight.
-- 
GitLab