From 2a5126f4f0c0a3e073becb98f49499363072643d Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Mon, 14 Sep 2009 17:25:23 +0200 Subject: General cleanup --- cpu.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpu.lua') diff --git a/cpu.lua b/cpu.lua index 5251670..648f8fb 100644 --- a/cpu.lua +++ b/cpu.lua @@ -27,7 +27,6 @@ local function worker(format) local f = io.open("/proc/stat") local cpu_lines = {} - -- Format data for line in f:lines() do if line:find("^cpu") then if #cpu_lines < 1 then cpuid = 1 @@ -52,7 +51,6 @@ local function worker(format) table.insert(cpu_usage, 0) end - -- Setup tables local total_new = {} local active_new = {} local diff_total = {} -- cgit v1.2.3