diff mbox series

dma_map_benchmark: remove unused NSEC_PER_MSEC macro

Message ID 20240903035949.10622-1-bajing@cmss.chinamobile.com
State New
Headers show
Series dma_map_benchmark: remove unused NSEC_PER_MSEC macro | expand

Commit Message

Ba Jing Sept. 3, 2024, 3:59 a.m. UTC
The macro NSEC_PER_MSEC is never referenced in the code, just remove it.

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

Patch

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",