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>] [day] [month] [year] [list]
Message-Id: <20240903035949.10622-1-bajing@cmss.chinamobile.com>
Date: Tue,  3 Sep 2024 11:59:49 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: chenxiang66@...ilicon.com
Cc: shuah@...nel.org,
	zhujun2@...s.chinamobile.com,
	bajing@...s.chinamobile.com,
	iommu@...ts.linux.dev,
	linux-kselftest@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] dma_map_benchmark: remove unused NSEC_PER_MSEC macro

The macro NSEC_PER_MSEC is never referenced in the code, just remove it.

Signed-off-by: Ba Jing <bajing@...s.chinamobile.com>
---
 tools/testing/selftests/dma/dma_map_benchmark.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/dma/dma_map_benchmark.c b/tools/testing/selftests/dma/dma_map_benchmark.c
index b12f1f9babf8..50283a83ae1b 100644
--- a/tools/testing/selftests/dma/dma_map_benchmark.c
+++ b/tools/testing/selftests/dma/dma_map_benchmark.c
@@ -13,8 +13,6 @@
 #include <linux/types.h>
 #include <linux/map_benchmark.h>
 
-#define NSEC_PER_MSEC	1000000L
-
 static char *directions[] = {
 	"BIDIRECTIONAL",
 	"TO_DEVICE",
-- 
2.33.0




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ