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
This commit is contained in:
parent
026babd427
commit
1c5e687117
@ -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);
|
||||
|
@ -36,9 +36,7 @@
|
||||
#include <dev/mlx5/mlx5_fpga_tools/tools.h>
|
||||
#include <dev/mlx5/mlx5_fpga_tools/tools_char.h>
|
||||
|
||||
#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);
|
||||
|
Loading…
Reference in New Issue
Block a user