aboutsummaryrefslogtreecommitdiff
path: root/topology.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2014-08-08 15:29:54 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-08-08 16:15:39 +0200
commit1fca0d9234b5980138686f280620263568327cfb (patch)
tree743632a830dca2755a3105a8dd20f11d5d2375c4 /topology.c
parentc542dd5c6fab6b5618764cd5e0b27bf3da6b853b (diff)
Don't stop parsing the topology if the directory is missing
If some cpus are offline, the 'topology' directory is deleted in the sysfs. With the current code, the topology is partially built, thus giving partial results. Fix this by continuing the parsing. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'topology.c')
-rw-r--r--topology.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/topology.c b/topology.c
index 00c1fe1..92521e1 100644
--- a/topology.c
+++ b/topology.c
@@ -320,9 +320,6 @@ static int topo_folder_scan(char *path, folder_filter_t filter)
out_free_newpath:
free(newpath);
-
- if (ret)
- break;
}
out_free_basedir: