Commit aa4df30d authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf header: Remove unused 'cpu_nr' field from 'struct cpu_topo'

Not used at all.
Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190213123246.4015-9-jolsa@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a9aeb87b
...@@ -563,7 +563,6 @@ static int write_cmdline(struct feat_fd *ff, ...@@ -563,7 +563,6 @@ static int write_cmdline(struct feat_fd *ff,
"/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list" "/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list"
struct cpu_topo { struct cpu_topo {
u32 cpu_nr;
u32 core_sib; u32 core_sib;
u32 thread_sib; u32 thread_sib;
char **core_siblings; char **core_siblings;
...@@ -679,7 +678,6 @@ static struct cpu_topo *build_cpu_topology(void) ...@@ -679,7 +678,6 @@ static struct cpu_topo *build_cpu_topology(void)
goto out_free; goto out_free;
tp = addr; tp = addr;
tp->cpu_nr = nr;
addr += sizeof(*tp); addr += sizeof(*tp);
tp->core_siblings = addr; tp->core_siblings = addr;
addr += sz; addr += sz;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment