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

From: Muhammad Usama Anjum
Date: Fri May 02 2025 - 09:44:11 EST


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@xxxxxxxxxxxxx>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>

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