[PATCH 2/7] selftests: vDSO: clock_getres: Drop unused include of err.h

Thomas Weißschuh posted 7 patches 9 months, 1 week ago
[PATCH 2/7] selftests: vDSO: clock_getres: Drop unused include of err.h
Posted by Thomas Weißschuh 9 months, 1 week ago
Nothing from err.h is used.

Drop the include.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 tools/testing/selftests/vDSO/vdso_test_clock_getres.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
index 38d46a8bf7cba7a9b4a9b13b5eb17aa207972bd0..b5d5f59f725a703c357dfca91bfe170aaaeb42fa 100644
--- a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
+++ b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
@@ -13,7 +13,6 @@
 
 #define _GNU_SOURCE
 #include <elf.h>
-#include <err.h>
 #include <fcntl.h>
 #include <stdint.h>
 #include <stdio.h>

-- 
2.49.0

Re: [PATCH 2/7] selftests: vDSO: clock_getres: Drop unused include of err.h
Posted by Muhammad Usama Anjum 9 months, 1 week ago
On 5/2/25 5:40 PM, Thomas Weißschuh wrote:
> Nothing from err.h is used.
> 
> Drop the include.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>

> ---
>  tools/testing/selftests/vDSO/vdso_test_clock_getres.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
> index 38d46a8bf7cba7a9b4a9b13b5eb17aa207972bd0..b5d5f59f725a703c357dfca91bfe170aaaeb42fa 100644
> --- a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
> +++ b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c
> @@ -13,7 +13,6 @@
>  
>  #define _GNU_SOURCE
>  #include <elf.h>
> -#include <err.h>
>  #include <fcntl.h>
>  #include <stdint.h>
>  #include <stdio.h>
> 


-- 
Regards,
Usama