perf config: Bring perf_default_config to the very beginning at main()
[deliverable/linux.git] / tools / perf / builtin-top.c
index b86b623e8799b46757c04e99f19615cc0307c4f3..94af190f6843d2c92e68b2dfef8dc51017c42079 100644 (file)
@@ -1065,7 +1065,7 @@ parse_callchain_opt(const struct option *opt, const char *arg, int unset)
        return parse_callchain_top_opt(arg);
 }
 
-static int perf_top_config(const char *var, const char *value, void *cb)
+static int perf_top_config(const char *var, const char *value, void *cb __maybe_unused)
 {
        if (!strcmp(var, "top.call-graph"))
                var = "call-graph.record-mode"; /* fall-through */
@@ -1074,7 +1074,7 @@ static int perf_top_config(const char *var, const char *value, void *cb)
                return 0;
        }
 
-       return perf_default_config(var, value, cb);
+       return 0;
 }
 
 static int
This page took 0.023311 seconds and 5 git commands to generate.