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)
commitbe26727772cd86979255dfaf1eea967338dc0c9b
tree6a5159925b3888ed9d2badf416ded2c6aa1a97f6
parentdf30f7408b187929dbde72661c7f7c615268f1d0
net: xdp: remove unused bfp_warn_invalid_xdp_buffer()

After commit 73b62bd085f4737679ea9afc7867fa5f99ba7d1b ("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 f23bc46c30ca5ef58b8549434899fcbac41b2cfc.

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