]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: drv-net: remove an unnecessary libmnl include
authorJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 18:31:19 +0000 (10:31 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Feb 2025 03:09:58 +0000 (19:09 -0800)
ncdevmem doesn't need libmnl, remove the unnecessary include.

Since YNL doesn't depend on libmnl either, any more, it's actually
possible to build selftests without having libmnl installed.

Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250207183119.1721424-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/ncdevmem.c

index 19a6969643f4626e4e6fbda88d99a332cb7eb126..2bf14ac2b8c62497e2d5f06174dbaf71ae23af2e 100644 (file)
@@ -50,7 +50,6 @@
 #include <linux/memfd.h>
 #include <linux/dma-buf.h>
 #include <linux/udmabuf.h>
-#include <libmnl/libmnl.h>
 #include <linux/types.h>
 #include <linux/netlink.h>
 #include <linux/genetlink.h>