From e364d99f0ddc6cab210e58b0c47936575b0d0830 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 5 Jun 2024 18:23:10 +0200 Subject: vid_rdc1: fix unused variable "value" Fix warning on unused variable "value". Signed-off-by: Enrico Weigelt, metux IT consult --- src/gfx/vid_rdcl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gfx/vid_rdcl.c b/src/gfx/vid_rdcl.c index 72f45d4..34a4659 100644 --- a/src/gfx/vid_rdcl.c +++ b/src/gfx/vid_rdcl.c @@ -256,14 +256,12 @@ gfx_set_clock_frequency(unsigned long frequency) Q_WORD msr_value, sys_value; unsigned long sys_low; unsigned int i, index = 0; - unsigned long value; long timeout = 1000; long min, diff; /* FIND THE REGISTER VALUES FOR THE DESIRED FREQUENCY */ /* Search the table for the closest frequency (16.16 format). */ - value = RCDF_PLLtable[0].pll_value; min = (long) RCDF_PLLtable[0].frequency - frequency; if (min < 0L) min = -min; -- cgit v1.2.3