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: <20240905085230.48438-1-zhangjiao2@cmss.chinamobile.com>
Date: Thu,  5 Sep 2024 16:52:30 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: shuah@...nel.org
Cc: jstultz@...gle.com,
	tglx@...utronix.de,
	anna-maria@...utronix.de,
	frederic@...nel.org,
	linux-kernel@...r.kernel.org,
	linux-kselftest@...r.kernel.org,
	zhang jiao <zhangjiao2@...s.chinamobile.com>
Subject: [PATCH] Date: Remove unused macro

From: zhang jiao <zhangjiao2@...s.chinamobile.com>

This macro NSEC_PER_SEC is never referenced in the code.
Just remove it.

Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
---
 tools/testing/selftests/timers/change_skew.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/testing/selftests/timers/change_skew.c b/tools/testing/selftests/timers/change_skew.c
index 4421cd562c24..18e794a46c23 100644
--- a/tools/testing/selftests/timers/change_skew.c
+++ b/tools/testing/selftests/timers/change_skew.c
@@ -30,9 +30,6 @@
 #include <time.h>
 #include "../kselftest.h"
 
-#define NSEC_PER_SEC 1000000000LL
-
-
 int change_skew_test(int ppm)
 {
 	struct timex tx;
-- 
2.33.0




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ