aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2023-09-08 16:32:15 +0200
committerJakub Kicinski <kuba@kernel.org>2023-10-03 07:34:51 -0700
commit75cec20345fa8e05a2b5f861fada95ad8e165257 (patch)
treef957386e4ce4ed813202c847253c91865bcd4cd5
parent7f04bd109d4c358a12b125bc79a6f0eac2e915ec (diff)
downloadnf-next-75cec20345fa8e05a2b5f861fada95ad8e165257.tar.gz
bpf: Remove xdp_do_flush_map().
xdp_do_flush_map() can be removed because there is no more user in tree. Remove xdp_do_flush_map(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Link: https://lore.kernel.org/r/20230908143215.869913-3-bigeasy@linutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--include/linux/filter.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h
index 27406aee2d4029..e8822bd595f9ab 100644
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -1025,12 +1025,6 @@ int xdp_do_redirect_frame(struct net_device *dev,
struct bpf_prog *prog);
void xdp_do_flush(void);
-/* The xdp_do_flush_map() helper has been renamed to drop the _map suffix, as
- * it is no longer only flushing maps. Keep this define for compatibility
- * until all drivers are updated - do not use xdp_do_flush_map() in new code!
- */
-#define xdp_do_flush_map xdp_do_flush
-
void bpf_warn_invalid_xdp_action(struct net_device *dev, struct bpf_prog *prog, u32 act);
#ifdef CONFIG_INET