[PATCH] drivers perf: remove unused field pmu_node

Yunhui Cui cuiyunhui at bytedance.com
Wed Sep 18 20:46:01 PDT 2024


The driver does not use the pmu_node field, so remove it.

Signed-off-by: Yunhui Cui <cuiyunhui at bytedance.com>
---
 drivers/perf/dwc_pcie_pmu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c
index 4ca50f9b6dfe..59526a48499f 100644
--- a/drivers/perf/dwc_pcie_pmu.c
+++ b/drivers/perf/dwc_pcie_pmu.c
@@ -82,7 +82,6 @@ struct dwc_pcie_pmu {
 	u16			ras_des_offset;
 	u32			nr_lanes;
 
-	struct list_head	pmu_node;
 	struct hlist_node	cpuhp_node;
 	struct perf_event	*event[DWC_PCIE_EVENT_TYPE_MAX];
 	int			on_cpu;
-- 
2.39.2




More information about the linux-arm-kernel mailing list