From 1c5e68711760712e5ddb95b138179bec65b314f8 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Wed, 22 Jun 2022 17:53:47 -0700 Subject: [PATCH] mlx5: purge EOL release compatibility Remove FreeBSD 10 support code Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c | 2 -- sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c b/sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c index 402a212d2f3d..26022ad09f74 100644 --- a/sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c +++ b/sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c @@ -568,8 +568,6 @@ void mlx5_fpga_client_unregister(struct mlx5_fpga_client *client) } EXPORT_SYMBOL(mlx5_fpga_client_unregister); -#if (__FreeBSD_version >= 1100000) MODULE_DEPEND(mlx5fpga, linuxkpi, 1, 1, 1); -#endif MODULE_DEPEND(mlx5fpga, mlx5, 1, 1, 1); MODULE_VERSION(mlx5fpga, 1); diff --git a/sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c b/sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c index 6cd165c434f9..f0d31c4affee 100644 --- a/sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c +++ b/sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c @@ -36,9 +36,7 @@ #include #include -#if (__FreeBSD_version >= 1100000) MODULE_DEPEND(mlx5fpga_tools, linuxkpi, 1, 1, 1); -#endif MODULE_DEPEND(mlx5fpga_tools, mlx5, 1, 1, 1); MODULE_DEPEND(mlx5fpga_tools, mlx5fpga, 1, 1, 1); MODULE_VERSION(mlx5fpga_tools, 1);