summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/module.c')
-rw-r--r--tools/perf/util/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/module.c b/tools/perf/util/module.c
index ddabe92..3d567fe 100644
--- a/tools/perf/util/module.c
+++ b/tools/perf/util/module.c
@@ -436,9 +436,9 @@ static int mod_dso__load_module_paths(struct mod_dso *self)
goto out_failure;
while (!feof(file)) {
- char *path, *name, *tmp;
+ char *name, *tmp;
struct module *module;
- int line_len, len;
+ int line_len;
line_len = getline(&line, &n, file);
if (line_len < 0)
OpenPOWER on IntegriCloud