lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241012092411.2497-1-bajing@cmss.chinamobile.com>
Date: Sat, 12 Oct 2024 17:24:11 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: robin.murphy@....com
Cc: will@...nel.org,
	mark.rutland@....com,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] perf: arm-cmn: remove unused macro

By reading the code, I found the marco CMN_HNP_PMU_EVENT_SEL
is never referenced in the code. Just remove it.

Signed-off-by: Ba Jing <bajing@...s.chinamobile.com>
---
 drivers/perf/arm-cmn.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/perf/arm-cmn.c b/drivers/perf/arm-cmn.c
index 397a46410f7c..37b62d0dcc06 100644
--- a/drivers/perf/arm-cmn.c
+++ b/drivers/perf/arm-cmn.c
@@ -79,7 +79,6 @@
 
 /* Some types are designed to coexist with another device in the same node */
 #define CMN_CCLA_PMU_EVENT_SEL		0x008
-#define CMN_HNP_PMU_EVENT_SEL		0x008
 
 /* DTMs live in the PMU space of XP registers */
 #define CMN_DTM_WPn(n)			(0x1A0 + (n) * 0x18)
-- 
2.33.0




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ