]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
selftests/nolibc: drop unnecessary sys/io.h include
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 24 Mar 2025 22:01:28 +0000 (23:01 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 10 Apr 2025 20:02:30 +0000 (22:02 +0200)
The include of sys/io.h is not necessary anymore since
commit 67eb617a8e1e ("selftests/nolibc: simplify call to ioperm").
It's existence is also problematic as the header does not exist on all
architectures.

Reported-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250324-nolibc-ioperm-v1-1-8a7cfb2876ae@weissschuh.net
tools/testing/selftests/nolibc/nolibc-test.c

index 5884a891c491544050fc35b07322c73a1a9dbaf3..7a60b6ac1457e8d862ab1a6a26c9e46abec92111 100644 (file)
@@ -16,7 +16,6 @@
 #ifndef _NOLIBC_STDIO_H
 /* standard libcs need more includes */
 #include <sys/auxv.h>
-#include <sys/io.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/mount.h>