[PATCH] drivers perf: remove unused field pmu_node

Yunhui Cui posted 1 patch 2 months, 1 week ago
drivers/perf/dwc_pcie_pmu.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] drivers perf: remove unused field pmu_node
Posted by Yunhui Cui 2 months, 1 week ago
The driver does not use the pmu_node field, so remove it.

Signed-off-by: Yunhui Cui <cuiyunhui@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
Re: [PATCH] drivers perf: remove unused field pmu_node
Posted by Will Deacon 1 month, 2 weeks ago
On Thu, 19 Sep 2024 11:46:01 +0800, Yunhui Cui wrote:
> The driver does not use the pmu_node field, so remove it.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] drivers perf: remove unused field pmu_node
      https://git.kernel.org/will/c/cc8476789983

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Re: [PATCH] drivers perf: remove unused field pmu_node
Posted by Shuai Xue 2 months, 1 week ago

在 2024/9/19 11:46, Yunhui Cui 写道:
> The driver does not use the pmu_node field, so remove it.
> 
> Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>

LGTM. Thanks.

Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>

Best Regards,
Shuai

> ---
>   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;