After reviewing the code, it was found that these macros are never
referenced in the code. Just remove them.
Signed-off-by: Ba Jing
---
tools/testing/selftests/landlock/ptrace_test.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/landlock/ptrace_test.c
b/tools
After reviewing the code, it was found that the macro GUEST_CODE_PIO_PORT
is never referenced in the code. Just remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/kvm/hardware_disable_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/kvm
By reading the code, I found these variables are never
referenced in the code. Just remove them.
Signed-off-by: Ba Jing
---
Notes:
v1:
https://lore.kernel.org/all/20240903034300.10443-1-baj...@cmss.chinamobile.com/
v2: Modify the commit subject and commit log.
tools/testing/selftests/damon
The macro FUSE_USE_VERSION is never referenced in the code,
just remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/memfd/fuse_mnt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/memfd/fuse_mnt.c
b/tools/testing/selftests/memfd/fuse_mnt.c
index
The macro GUEST_CODE_PIO_PORT is never referenced in the code,
just remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/kvm/hardware_disable_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/hardware_disable_test.c
b/tools/testing/selftests/kvm
The variable "wret" is never referenced in the code, just remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/filesystems/binderfs/binderfs_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/filesystems/binderfs/binderfs_test.c
b/tools/testing
The macro NSEC_PER_MSEC is never referenced in the code, just remove it.
Signed-off-by: Ba Jing
---
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
These variables are never referenced in the code, just remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/damon/access_memory_even.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/damon/access_memory_even.c
b/tools/testing/selftests/damon
The macro MAX_PID_NS_LEVEL is never referenced in the code, so remove it.
Signed-off-by: Ba Jing
---
tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
b/tools
9 matches
Mail list logo