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: <20240313124117.3224601-1-f.suligoi@asem.it>
Date: Wed, 13 Mar 2024 13:41:17 +0100
From: Flavio Suligoi <f.suligoi@...m.it>
To: "Rafael J . Wysocki" <rafael@...nel.org>,
 Daniel Lezcano <daniel.lezcano@...aro.org>,
 Zhang Rui <rui.zhang@...el.com>, Lukasz Luba <lukasz.luba@....com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
 Flavio Suligoi <f.suligoi@...m.it>
Subject: [PATCH] thermal: qoriq: remove redundant TMTMIR_DEFAULT

The definition of TMTMIR_DEFAULT is repeated two times in the code.
The first time is useless.
It makes more sense to leave this definition after the correspondent
REGS_TMTMIR register definition:

Signed-off-by: Flavio Suligoi <f.suligoi@...m.it>
---
 drivers/thermal/qoriq_thermal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c
index ccc2eea7f9f5..c29ed179c12d 100644
--- a/drivers/thermal/qoriq_thermal.c
+++ b/drivers/thermal/qoriq_thermal.c
@@ -20,7 +20,6 @@
 #define TMR_ME			0x80000000
 #define TMR_ALPF		0x0c000000
 #define TMR_ALPF_V2		0x03000000
-#define TMTMIR_DEFAULT	0x0000000f
 #define TIER_DISABLE	0x0
 #define TEUMR0_V2		0x51009c00
 #define TMSARA_V2		0xe
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ