aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/header.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index f1508adefc16..61ce197c5362 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -563,7 +563,6 @@ static int write_cmdline(struct feat_fd *ff,
563 "/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list" 563 "/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list"
564 564
565struct cpu_topo { 565struct cpu_topo {
566 u32 cpu_nr;
567 u32 core_sib; 566 u32 core_sib;
568 u32 thread_sib; 567 u32 thread_sib;
569 char **core_siblings; 568 char **core_siblings;
@@ -679,7 +678,6 @@ static struct cpu_topo *build_cpu_topology(void)
679 goto out_free; 678 goto out_free;
680 679
681 tp = addr; 680 tp = addr;
682 tp->cpu_nr = nr;
683 addr += sizeof(*tp); 681 addr += sizeof(*tp);
684 tp->core_siblings = addr; 682 tp->core_siblings = addr;
685 addr += sz; 683 addr += sz;