REF remove more dead code

This commit is contained in:
Nathan Dwarshuis 2021-07-13 01:16:32 -04:00
parent fcc6b0bd3c
commit bf27560dcd
1 changed files with 0 additions and 8 deletions

View File

@ -46,14 +46,6 @@ local _TABLE_SECTION_BREAK_ = 20
local _TABLE_HEIGHT_ = 114 local _TABLE_HEIGHT_ = 114
local _create_core_ = function(cores, id, x, y) 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 local hwmon_index = -1
while Util.read_file(string.format(CORETEMP_PATH, hwmon_index, 'name'), nil, '*l') ~= 'coretemp' do while Util.read_file(string.format(CORETEMP_PATH, hwmon_index, 'name'), nil, '*l') ~= 'coretemp' do
hwmon_index = hwmon_index + 1 hwmon_index = hwmon_index + 1