selftests: drv-net: remove an unnecessary libmnl include
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 selftests: drv-net: remove an unnecessary libmnl include
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.
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- tools/testing/selftests/drivers/net/hw/ncdevmem.c | 1 - 1 file changed, 1 deletion(-)
tools/testing/selftests/drivers/net/hw/ncdevmem.c +0 -1
@@ -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>
Signature · 1 line
2.48.1
Quoted 7 lines · Jakub Kicinski
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.
Signed-off-by Jakub Kicinski <[email protected]>
Whoops, sorry about that.
Signature · 2 lines
Thanks, Mina
Quoted 12 lines · Jakub Kicinski
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.
Signed-off-by Jakub Kicinski <[email protected]>---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
Quoted 3 lines
--- tools/testing/selftests/drivers/net/hw/ncdevmem.c | 1 - 1 file changed, 1 deletion(-)
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Fri, 7 Feb 2025 10:31:19 -0800 you wrote:
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.
Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net-next] selftests: drv-net: remove an unnecessary libmnl include
https://git.kernel.org/netdev/net-next/c/a980da54b6a4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html