From 6424c57a2843f3eb56c92b7b9dbf786219656af5 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 6 Oct 2022 13:58:27 +0200
Subject: [PATCH] Remove duplicate sync_reg statement.

---
 libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd b/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
index b45e247c30..78249aab75 100644
--- a/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
+++ b/libraries/base/dp/src/vhdl/dp_bsn_monitor_v2.vhd
@@ -174,7 +174,6 @@ BEGIN
   -- instances. The ref_sync_reg is used to restart cnt_latency. Therefore the sync_reg
   -- (instead of sync) is needed to capture latency (= cnt_latency) not too early, so capture
   -- cnt_latency at or after the cnt_latency has restarted.
-  sync_reg <= sync WHEN rising_edge(clk);
   ref_sync_reg <= ref_sync WHEN rising_edge(clk);
 
   u_sync_timeout_cnt : ENTITY common_lib.common_counter
-- 
GitLab