@@ -32,7 +32,6 @@ struct hisi_ptt {
u32 auxtrace_type;
struct perf_session *session;
struct machine *machine;
- u32 pmu_type;
};
static enum hisi_ptt_pkt_type hisi_ptt_check_packet_type(unsigned char *buf)
@@ -166,7 +165,6 @@ int hisi_ptt_process_auxtrace_info(union perf_event *event,
ptt->session = session;
ptt->machine = &session->machines.host; /* No kvm support */
ptt->auxtrace_type = auxtrace_info->type;
- ptt->pmu_type = auxtrace_info->priv[0];
ptt->auxtrace.process_event = hisi_ptt_process_event;
ptt->auxtrace.process_auxtrace_event = hisi_ptt_process_auxtrace_event;
The 'pmu_type' field is not used, remove it. Signed-off-by: Leo Yan <leo.yan@arm.com> --- tools/perf/util/hisi-ptt.c | 2 -- 1 file changed, 2 deletions(-)