summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-06-02 02:07:09 +0200
committerNamhyung Kim <namhyung@kernel.org>2024-06-05 03:17:17 +0200
commit0770ceaff2f6a084d4d020295cfba6c5ef278cf4 (patch)
treef3ee49096873d6a1a6b0bf64068358958720e758
parentperf genelf: remove unused struct 'options' (diff)
downloadlinux-0770ceaff2f6a084d4d020295cfba6c5ef278cf4.tar.xz
linux-0770ceaff2f6a084d4d020295cfba6c5ef278cf4.zip
perf hisi-ptt: remove unused struct 'hisi_ptt_queue'
'hisi_ptt_queue' has been unused since the original commit 5e91e57e6809 ("perf auxtrace arm64: Add support for parsing HiSilicon PCIe Trace packet"). Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Ian Rogers <irogers@google.com> Cc: yangyicong@hisilicon.com Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240602000709.213116-1-linux@treblig.org
-rw-r--r--tools/perf/util/hisi-ptt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/hisi-ptt.c b/tools/perf/util/hisi-ptt.c
index 52d0ce302ca0..37ea987017f6 100644
--- a/tools/perf/util/hisi-ptt.c
+++ b/tools/perf/util/hisi-ptt.c
@@ -35,11 +35,6 @@ struct hisi_ptt {
u32 pmu_type;
};
-struct hisi_ptt_queue {
- struct hisi_ptt *ptt;
- struct auxtrace_buffer *buffer;
-};
-
static enum hisi_ptt_pkt_type hisi_ptt_check_packet_type(unsigned char *buf)
{
uint32_t head = *(uint32_t *)buf;