perf tools: Use default CPUINFO_PROC where it fits
Several architectures don't need to define it since the string is the same as the default one, so nuke them. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-v1e1jr1u474w9xcelpaoxamu@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -380,9 +380,6 @@ done:
|
||||
static int write_cpudesc(struct feat_fd *ff,
|
||||
struct perf_evlist *evlist __maybe_unused)
|
||||
{
|
||||
#ifndef CPUINFO_PROC
|
||||
#define CPUINFO_PROC {"model name", }
|
||||
#endif
|
||||
const char *cpuinfo_procs[] = CPUINFO_PROC;
|
||||
unsigned int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user