From patchwork Thu Sep 19 03:46:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yunhui cui X-Patchwork-Id: 13807315 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCDC9CE8D46 for ; Thu, 19 Sep 2024 03:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=j8Wd/pkbfHSw6JOPxNYyJ9mdgKFr/6pXLapB9px/A40=; b=a5dopiNbZXeoHxwKX3EnZuui8L f2tQdxGuE2TGK8uuHwNWHCbdAYbw8XDbO6EoQwJZvtw5Qe0Dwk88G87NeTdjpW+MQLkIfYbfY3qrY CYSeyLt2lk5XvAPhYprjJTy2F4c4pv5svQJIL/PsZISV1GRl6F7SYEl/8VKWvRLG862mjR/3nxIIC xY7BQkKnhANSpsfbH2kkB8WmrKJ61X6sSNo6tbdNvmh/K5dNNhPuJLqNdLyZ4ASir8WHR21GsT/AW io/F6dlS2TUnfWmjsON2AnAXzg0eh4k8eZDLp+IEGQItd55kGisq5ug8WKOdNeIrlg+1JibajWcOo i6RIbIDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sr89k-00000009NXJ-3x0g; Thu, 19 Sep 2024 03:48:36 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sr88e-00000009NSQ-2UtK for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2024 03:47:30 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-71923d87be4so265076b3a.0 for ; Wed, 18 Sep 2024 20:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1726717644; x=1727322444; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=j8Wd/pkbfHSw6JOPxNYyJ9mdgKFr/6pXLapB9px/A40=; b=YOy4VS+KRsDJexddbn7Lg5PpsW1S4mpwhv+LiXgVxlrfPSURJjBMB2AQ2oQLqhKc59 3pPApOH15gAZS60Lm4ztBy/EEcxQCUksJOar8I5kLjAYivyFqVTyqPJm/kzJ1lZpSSOS 8NKD/1l0eMytSmbJWbrCtXtpyIPqldhDlxjfLpf5LH/baGGo2768l/5UAPJmmWFHVero RNwPdrm99TGQtwHydJORO306Fvkbk3QpxyoSwEJE88AdBSTIoq91UZ9kcZMhcNM8b3b9 m8LP4Ye+0dPPWiZEjvLjfHyUsZOO0JyZVl/ZR0BZZQjiCu+rFMdZTpFhg/Ppku5I7xJO 0biw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726717644; x=1727322444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j8Wd/pkbfHSw6JOPxNYyJ9mdgKFr/6pXLapB9px/A40=; b=ApyNgvCef926efws2CHlE4fWyfrdGd+d1m1Hx3d8zcTL3VI7jUxrIPi9W+he9X9ttN X3kXLHFz/mJmH6v8JA2xCPIwk2QKGx+GTF/SBarLF+kb72QZSfVJMTZ59t02xAhhcYsG aUhgpOzeWu78am8CRjHVmd5IVBQkRYlHYBCm3okj8EvUJk0LNWQFztODYYRXJEIfEAw4 /lJAXz0yrwL/VH5dIwG67u+vb0F26wb4SaY6PQIf478cvmMOOr+UqL3ej//AXqDmP21d y5WxYkbhShw5o4UDmsrpOQGjp4UAK6I6PjnfAxPvUVBCTe4UpMCjVuYKilpD2tJxjhZ3 4FBg== X-Forwarded-Encrypted: i=1; AJvYcCVznwHs7cIepdYtXMppbPdhYhNLMabSDJ8I5QJ7PwtPtkfmY3/WZ2G6Xnl6z2DYdsBzmotkUBbbqi9WVQ32wPLi@lists.infradead.org X-Gm-Message-State: AOJu0YxXWCuEfNo1jGDknFTPRQD3rXPV33lfI099RFJ6fp6tbDZ/n6Za JyOgmq6pTivwIz0vkr5zQ/59w1BMpW+8AK89kTWz1lzjog8v2HdSN4p0h+IKb29jH0jVyr7c/Ij zS5I= X-Google-Smtp-Source: AGHT+IEDOJNSUO2mBw26T8OEjCzYNAuTNuBRNDMH3WRaF9pDa0z8VPH+i872tLVdSRjH9OOq2GbmWA== X-Received: by 2002:a05:6a00:4fc4:b0:714:1a74:9953 with SMTP id d2e1a72fcca58-71936a6267cmr30982838b3a.16.1726717644249; Wed, 18 Sep 2024 20:47:24 -0700 (PDT) Received: from L6YN4KR4K9.bytedance.net ([139.177.225.245]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71944bc344bsm7427062b3a.194.2024.09.18.20.47.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 18 Sep 2024 20:47:23 -0700 (PDT) From: Yunhui Cui To: punit.agrawal@bytedance.com, xueshuai@linux.alibaba.com, renyu.zj@linux.alibaba.com, will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Yunhui Cui Subject: [PATCH] drivers perf: remove unused field pmu_node Date: Thu, 19 Sep 2024 11:46:01 +0800 Message-Id: <20240919034601.2453-1-cuiyunhui@bytedance.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240918_204728_685861_054BD1C6 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver does not use the pmu_node field, so remove it. Signed-off-by: Yunhui Cui Reviewed-by: Shuai Xue --- 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;