From bf27560dcd227ca526a8534c4216565a8325a8e0 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Tue, 13 Jul 2021 01:16:32 -0400 Subject: [PATCH] REF remove more dead code --- drawing/Processor.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drawing/Processor.lua b/drawing/Processor.lua index 21741c9..e64df42 100644 --- a/drawing/Processor.lua +++ b/drawing/Processor.lua @@ -46,14 +46,6 @@ local _TABLE_SECTION_BREAK_ = 20 local _TABLE_HEIGHT_ = 114 local _create_core_ = function(cores, id, x, y) - local conky_freqs = {} - - for c = 0, NUM_PHYSICAL_CORES * NUM_THREADS_PER_CORE - 1 do - if Util.read_file('/sys/devices/system/cpu/cpu'..c..'/topology/core_id', nil, '*n') == id then - table.insert(conky_freqs, '${freq '..c..'}') - end - end - local hwmon_index = -1 while Util.read_file(string.format(CORETEMP_PATH, hwmon_index, 'name'), nil, '*l') ~= 'coretemp' do hwmon_index = hwmon_index + 1