diff mbox series

[net-next,2/2] bpf: Remove xdp_do_flush_map().

Message ID 20230908143215.869913-3-bigeasy@linutronix.de (mailing list archive)
State Accepted
Commit 75cec20345fa8e05a2b5f861fada95ad8e165257
Delegated to: Netdev Maintainers
Headers show
Series bpf: Remove xdp_do_flush_map(). | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 2700 this patch: 2700
netdev/cc_maintainers warning 8 maintainers not CCed: martin.lau@linux.dev jolsa@kernel.org haoluo@google.com sdf@google.com yonghong.song@linux.dev andrii@kernel.org kpsingh@kernel.org song@kernel.org
netdev/build_clang success Errors and warnings before: 1501 this patch: 1501
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 2801 this patch: 2801
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 12 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Sebastian Andrzej Siewior Sept. 8, 2023, 2:32 p.m. UTC
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>
---
 include/linux/filter.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Toke Høiland-Jørgensen Sept. 11, 2023, 9:20 a.m. UTC | #1
Sebastian Andrzej Siewior <bigeasy@linutronix.de> writes:

> 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>
Jesper Dangaard Brouer Sept. 12, 2023, 10:23 a.m. UTC | #2
On 08/09/2023 16.32, Sebastian Andrzej Siewior wrote:
> 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>
> ---

Thanks for cleaning up :-)

Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
diff mbox series

Patch

diff --git a/include/linux/filter.h b/include/linux/filter.h
index 761af6b3cf2bc..2befb522d8565 100644
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -981,12 +981,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