From 770c658e5fefe3c67c8fc1bd5162bf4240a3c8a4 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sun, 22 Nov 2020 17:47:07 +0100 Subject: [PATCH] edid-decode: drop duplicate assign to t.vsync edid_cvt_mode() assigns t.vsync twice. Drop the first assignment. Reported by val.zapod.vz@gmail.com. Signed-off-by: Hans Verkuil --- parse-base-block.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/parse-base-block.cpp b/parse-base-block.cpp index 965d04c..9a88083 100644 --- a/parse-base-block.cpp +++ b/parse-base-block.cpp @@ -573,7 +573,6 @@ void edid_state::edid_cvt_mode(unsigned refresh, struct timings &t) VSync = 7; else /* Custom */ VSync = 10; - t.vsync = VSync; if (!t.rb) { /* simplified GTF calculation */ /* 4) Minimum time of vertical sync + back porch interval (µs) -- 2.11.4.GIT