From 9853a5904c142661a9d03a08ef78ae93f28aa658 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 24 Dec 2023 09:09:20 -0800 Subject: [PATCH] vvp: Remove bitsr from struct vvp_fun_part_state_s The part functor has no real typed state and the bitsr field of the state struct is unused. Remove it. Signed-off-by: Lars-Peter Clausen --- vvp/part.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vvp/part.cc b/vvp/part.cc index ded2017b6..a23275685 100644 --- a/vvp/part.cc +++ b/vvp/part.cc @@ -29,10 +29,9 @@ using namespace std; struct vvp_fun_part_state_s { - vvp_fun_part_state_s() : bitsr(0.0) {} + vvp_fun_part_state_s() {} vvp_vector4_t bits; - double bitsr; }; vvp_fun_part::vvp_fun_part(unsigned base, unsigned wid)