From: Björn Töpel Date: Mon, 5 Oct 2020 09:05:25 +0000 (+0200) Subject: xsk: Remove internal DMA headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b75597d8947f842fa525000cf9569c21e7596da9;p=linux.git xsk: Remove internal DMA headers Christoph Hellwig correctly pointed out [1] that the AF_XDP core was pointlessly including internal headers. Let us remove those includes. [1] https://lore.kernel.org/bpf/20201005084341.GA3224@infradead.org/ Fixes: 1c1efc2af158 ("xsk: Create and free buffer pool independently from umem") Reported-by: Christoph Hellwig Signed-off-by: Björn Töpel Signed-off-by: Daniel Borkmann Acked-by: Christoph Hellwig Link: https://lore.kernel.org/bpf/20201005090525.116689-1-bjorn.topel@gmail.com --- diff --git a/net/xdp/xsk_buff_pool.c b/net/xdp/xsk_buff_pool.c index e63fadd000dba..64c9e55d4d4e7 100644 --- a/net/xdp/xsk_buff_pool.c +++ b/net/xdp/xsk_buff_pool.c @@ -3,9 +3,6 @@ #include #include #include -#include -#include -#include #include "xsk_queue.h" #include "xdp_umem.h"