[PATCH] drivers perf: remove unused field pmu_node

Shuai Xue xueshuai at linux.alibaba.com
Thu Sep 19 23:55:14 PDT 2024



在 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 at bytedance.com>

LGTM. Thanks.

Reviewed-by: Shuai Xue <xueshuai at 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;




More information about the linux-arm-kernel mailing list