aboutsummaryrefslogtreecommitdiff
path: root/getcore.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 17:31:09 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 17:31:09 +1200
commitb6338e7753d0862276d7ed38eab2a19d8b6544b6 (patch)
tree15ff198faf468bab10e351cd7c59d7bb3f06c8a4 /getcore.c
parent956a6261ebfdf8fb3346b8935d0ec59c1c26df7c (diff)
downloadparamano-b6338e7753d0862276d7ed38eab2a19d8b6544b6.tar.xz
Removed old debug swarf
Diffstat (limited to 'getcore.c')
-rw-r--r--getcore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/getcore.c b/getcore.c
index 9fb9600..2624c34 100644
--- a/getcore.c
+++ b/getcore.c
@@ -29,7 +29,6 @@ bool core_exists(unsigned int core)
char* path;
int result;
asprintf(&path, "/sys/devices/system/cpu/cpu%d/cpufreq", core);
- debug("Checking if core %d exists by opening '%s'\n",core,path);
result = access(path, F_OK);
free (path);
return (result != -1);
@@ -44,8 +43,6 @@ void gc_init()
cores = 0;
while(core_exists(cores))
cores++;
-
- debug("Found %d cores\n",cores);
}