Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Not used at all.

Signed-off-by: Jiri 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.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Jiri Olsa and committed by
Arnaldo Carvalho de Melo
aa4df30d a9aeb87b

-2
-2
tools/perf/util/header.c
··· 563 563 "/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list" 564 564 565 565 struct cpu_topo { 566 - u32 cpu_nr; 567 566 u32 core_sib; 568 567 u32 thread_sib; 569 568 char **core_siblings; ··· 678 679 goto out_free; 679 680 680 681 tp = addr; 681 - tp->cpu_nr = nr; 682 682 addr += sizeof(*tp); 683 683 tp->core_siblings = addr; 684 684 addr += sz;