]> git.baikalelectronics.ru Git - kernel.git/commit
net: xdp: remove unused bfp_warn_invalid_xdp_buffer()
authorJason Wang <jasowang@redhat.com>
Tue, 27 Dec 2016 02:49:54 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2016 17:28:07 +0000 (12:28 -0500)
commit004ed1ab28939fb710b33c190c6e9f7b9a55fdf5
tree6a5159925b3888ed9d2badf416ded2c6aa1a97f6
parent2ba87c54b6211b9b8ffe8047b48bde876a83b9df
net: xdp: remove unused bfp_warn_invalid_xdp_buffer()

After commit 1de9530b1c8b26543651f81406d32ceb6b06ff4c ("virtio-net:
remove the warning before XDP linearizing"), there's no users for
bpf_warn_invalid_xdp_buffer(), so remove it. This is a revert for
commit a83076cc7fcfe0f10729dcb496fee5d08f026c26.

Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c