diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-06-05 18:23:10 +0200 |
---|---|---|
committer | Martin-Éric Racine <martin-eric.racine@iki.fi> | 2024-06-18 15:25:31 +0000 |
commit | e364d99f0ddc6cab210e58b0c47936575b0d0830 (patch) | |
tree | 8adbc3efb3030bdb76644c2d66bfc7687bb3b4a7 /src | |
parent | c74b1d68849897f5a27a84ab60c635731b48e5a0 (diff) |
vid_rdc1: fix unused variable "value"
Fix warning on unused variable "value".
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/gfx/vid_rdcl.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |