mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers perf: remove unused field pmu_node
@ 2024-09-19  3:46 Yunhui Cui
  2024-09-20  6:55 ` Shuai Xue
  2024-10-14 16:42 ` Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Yunhui Cui @ 2024-09-19  3:46 UTC (permalink / raw)
  To: punit.agrawal, xueshuai, renyu.zj, will, mark.rutland,
	linux-arm-kernel, linux-kernel
  Cc: Yunhui Cui

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers perf: remove unused field pmu_node
  2024-09-19  3:46 [PATCH] drivers perf: remove unused field pmu_node Yunhui Cui
@ 2024-09-20  6:55 ` Shuai Xue
  2024-10-14 16:42 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Shuai Xue @ 2024-09-20  6:55 UTC (permalink / raw)
  To: Yunhui Cui, punit.agrawal, renyu.zj, will, mark.rutland,
	linux-arm-kernel, linux-kernel



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers perf: remove unused field pmu_node
  2024-09-19  3:46 [PATCH] drivers perf: remove unused field pmu_node Yunhui Cui
  2024-09-20  6:55 ` Shuai Xue
@ 2024-10-14 16:42 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2024-10-14 16:42 UTC (permalink / raw)
  To: punit.agrawal, xueshuai, renyu.zj, mark.rutland,
	linux-arm-kernel, linux-kernel, Yunhui Cui
  Cc: catalin.marinas, kernel-team, Will Deacon

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-14 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19  3:46 [PATCH] drivers perf: remove unused field pmu_node Yunhui Cui
2024-09-20  6:55 ` Shuai Xue
2024-10-14 16:42 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®