Message ID | 20240919034601.2453-1-cuiyunhui@bytedance.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drivers perf: remove unused field pmu_node | expand |
在 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;
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,
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;
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(-)